douglasjunior / react-native-keyboard-manager

⚛ Library to prevent issues of keyboard sliding up and cover inputs on React-Native iOS projects.
https://www.npmjs.com/package/react-native-keyboard-manager
MIT License
934 stars 60 forks source link

large text input #105

Closed rohankm closed 1 year ago

rohankm commented 1 year ago

Hi,

I'm using this with a large text input. The problem I'm facing is whenever I want to edit a middle portion of the large text the offset is not calculated from the text position. Instead it's calculated from the text input bottom side.

Please fix this.

douglasjunior commented 1 year ago

Thank you for the feedback!

In your case, you need to set an appropriated maxHeight on your input to allow it to fit the screen when the keyboard is open.

As you said, the IQKeyboardManager calculates the position based on the bottom of the Input, and this will not be changed.