APSL / react-native-keyboard-aware-scroll-view

A ScrollView component that handles keyboard appearance and automatically scrolls to focused TextInput.
MIT License
5.24k stars 643 forks source link

Space of bottom when keyboard open #473

Open trungtin2222 opened 3 years ago

trungtin2222 commented 3 years ago

Hello everyone,

I have an issue from Android platform. "react-native": "0.63.3", "react-native-keyboard-aware-scroll-view": "^0.9.2"

When keyboard open, i receive excess space like this.

Screen Shot 2021-03-16 at 16 57 45

How can i fix it?

Many thanks

kostiantyn-solianyk commented 3 years ago

Did you solve the issue?

koaladlt commented 3 years ago

I'm having the same issue

malikKartik commented 3 years ago

Any solution to this?

LuuchoRocha commented 2 years ago

Could you post an example of the code you're using?

vickypathak123 commented 2 years ago

You can get Keyboard Open Event and also You are getting height of Keyboard. So Just set styles in main view with margin bottom. Just Add Ternary condition when keyboard open then marginBottom : - keyboardheight or when keyboard close then set marginBottom : 0