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
703 stars 20 forks source link

fix(#175): unnecessary scroll even when it's not needed #177

Closed mateusz1913 closed 1 year ago

mateusz1913 commented 1 year ago

This pull request resolves #175

Description

Because of passing wrong view to the getScrollToOffset measurement util (scrollview instead of currenly focused input), the scrollview was being scrolled even when the input was not being covered by the keyboard.

Affected platforms