diff --git a/src/hooks/useMultipleSelection/index.js b/src/hooks/useMultipleSelection/index.js index 666638c0..8160df7e 100644 --- a/src/hooks/useMultipleSelection/index.js +++ b/src/hooks/useMultipleSelection/index.js @@ -1,4 +1,5 @@ import {useRef, useEffect, useCallback, useMemo} from 'react' +import {isReactNative} from '../../is.macro' import setStatus from '../../set-a11y-status' import {handleRefs, callAllEventHandlers, normalizeArrowKey} from '../../utils' import { @@ -53,7 +54,7 @@ function useMultipleSelection(userProps = {}) { // Effects. /* Sets a11y status message on changes in selectedItem. */ useEffect(() => { - if (isInitialMountRef.current) { + if (isInitialMountRef.current || isReactNative) { return }