react-native-keyboard-aware-scroll-view icon indicating copy to clipboard operation
react-native-keyboard-aware-scroll-view copied to clipboard

Space of bottom when keyboard open

Open trungtin2222 opened this issue 4 years ago • 5 comments

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

trungtin2222 avatar Mar 16 '21 10:03 trungtin2222

Did you solve the issue?

kostiantyn-solianyk avatar Apr 06 '21 07:04 kostiantyn-solianyk

I'm having the same issue

koaladlt avatar May 13 '21 15:05 koaladlt

Any solution to this?

malikKartik avatar Jun 23 '21 04:06 malikKartik

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

LuuchoRocha avatar Jul 10 '21 07:07 LuuchoRocha

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

vickypathak123 avatar Aug 25 '21 09:08 vickypathak123