After upgrading react-native and react-native-keyboard-manager to latest versions, setKeyboardDistanceFromTextField is not working properly, even if I set 0 as a value there is a space between the input and the keyboard. When the Keyboard is opened it pushes my content too much.
The TextInput is inside a ScrollView, and after I manually scroll inside the list while the Keyboard is still opened the extra space is somehow removed and the TextInput remains sticky to the Keyboard which is what I want to see. (the TextInput is the last element in my list, this is why it remains sticky, there is no other content after it)
I also noticed a difference in behaviour when using a multiline TextInput vs a regular one.
After upgrading react-native and react-native-keyboard-manager to latest versions, setKeyboardDistanceFromTextField is not working properly, even if I set 0 as a value there is a space between the input and the keyboard. When the Keyboard is opened it pushes my content too much.
The TextInput is inside a ScrollView, and after I manually scroll inside the list while the Keyboard is still opened the extra space is somehow removed and the TextInput remains sticky to the Keyboard which is what I want to see. (the TextInput is the last element in my list, this is why it remains sticky, there is no other content after it)
I also noticed a difference in behaviour when using a multiline TextInput vs a regular one.
https://user-images.githubusercontent.com/5901386/153760640-a355ab70-1067-4e69-a919-847c6da3b119.mp4
Source code for the screen