React native – boolean inside useRef is not giving correct value and it is always false
Boolean inside useRef is not giving correct value, and it is always false in React/React native. Even if the keyboard is present isKeyboardShown inside keyboardDissmissPanResponder = useRef is always false const isKeyboardShown = keyboardState?.isKeyboardShown ?? false; const keyboardDissmissPanResponder = useRef(…