instea / react-native-color-picker

Color picker component for IOS/Android
Apache License 2.0
272 stars 67 forks source link

Color picker shrinks automatically on android every time keyboard comes up. #24

Closed dayoul closed 3 years ago

dayoul commented 4 years ago

스크린샷 2020-03-28 오후 1 38 01 스크린샷 2020-03-28 오후 1 37 31

First of all, I did not use and 'KeyboardAvoingView'. So on iOS, Color picker circle remains same even if the keyboard comes up. But on android, color circle shrinks to avoid the keyboard. But I want the color circle to remain same at the origin place even if the keyboard comes up.

Any solutions for this?

Thank you very much!

sodik82 commented 4 years ago

color picker always use all the space provided.... so its container must have been shrunk. Fixing the height could be a quick-fix or you have to find out why it shrinks (maybe checkout android:windowSoftInputMode in your android manifest).

dayoul commented 4 years ago

color picker always use all the space provided.... so its container must have been shrunk. Fixing the height could be a quick-fix or you have to find out why it shrinks (maybe checkout android:windowSoftInputMode in your android manifest).

Thanks I'll check on that!