mateusz1913 / react-native-avoid-softinput

Native solution for common React Native problem of focused views being covered by soft input view.
https://mateusz1913.github.io/react-native-avoid-softinput/
MIT License
700 stars 18 forks source link

useSoftInputShown hook did not remove listener on first screen. #167

Closed danish5454 closed 10 months ago

danish5454 commented 1 year ago

Environment

Library version: YES OS version: SUMSUNG A53 5G ( ANDROID 13 )

Affected platforms

Current behavior

I've two screens first login 2nd forgot password. when I enter in login it's working fine then I go to forgot password it's breaking the screen. I'm using Sticky footer recipe example in app.

https://github.com/mateusz1913/react-native-avoid-softinput/assets/132438054/2c7a58b2-a149-42b6-bd0f-a4d9d5b9b6f5

Expected behavior

expected behavior should be same as shown in Sticky footer recipe example

Reproduction

https://github.com/mateusz1913/react-native-avoid-softinput/blob/main/packages/app/src/screens/StickyFooterExample.tsx

mateusz1913 commented 1 year ago

👋 @danish5454 please provide a snack or GH link to the minimal reproduction of the app shown in the recording (putting the link to StickyFooterExample is not enough, as it doesn't have any navigation to next screen, like forgot password in your case)

mateusz1913 commented 10 months ago

Closing as there's no repro link provided and no activity under the issue