react-native-avoid-softinput
react-native-avoid-softinput copied to clipboard
useSoftInputHeightChanged return wrong value
Environment
Library version: react-native-avoid-softinput OS version: any IOS
Affected platforms
- [ ] Android
- [x] iOS
Current behavior
When the Prefer Cross-Fade is on, the useSoftInputHeightChanged return wrong softInputHeight whenever the softkeyboard is closed.
Expected behavior
Return 0 when the softkeyboard is closed
Reproduction
Condition: With Settings > Accessibility > Motion > Reduce Motion ON Prefer Cross-Fade ON