akveo / kittenTricks

React Native starter kit with over 40 screens and modern Light and Dark theme for creating stunning cross-platform mobile applications.
https://akveo.github.io/react-native-ui-kitten/
MIT License
7.17k stars 986 forks source link

KeyboardAvoidingView does not restore layout when keyboard is closed (Android only) #288

Closed radud closed 4 years ago

radud commented 4 years ago

Hi,

Thank you for this amazing framework. We are looking to adopt it for our apps.

🐛 Bug Report

KeyboardAvoidingView does not restore layout when keyboard is closed. It can be easily reproduced using the kitten tricks app.

To Reproduce

Steps to reproduce the behavior:

  1. Open kitten tricks apps
  2. go to articles -> Article 3
  3. scroll to have comments input on the bottom of the screen
  4. click comments input
  5. close the keyboard with down triangle

Result: View has a top padding that should not be there.

Images attached: https://drive.google.com/file/d/12FHl6QthTi-q0FdmjLlQQfjh4pKkpO_x/view?usp=sharing https://drive.google.com/file/d/1kb4-qaG_OE6yNHjj82iieNPXXIraCq6X/view?usp=sharing

Expected behavior

Layout should have no top padding and look like before opening keyboard

UI Kitten and Eva version

Package Version
@eva-design/eva 2.0.0-alpha.1
@ui-kitten/components 5.0.0-alpha.1

Environment information

Android device is Huawei P30 and runs Android 10

radud commented 4 years ago

I thin this should be on the framework itself. Kitten tricks app is just a simple way to reproduce the issue. Does this make sense?

Many thanks, Radu

artyorsh commented 4 years ago

@radud KeyboardAvoidingView is not a part of UI Kitten, so it still a Kitten Tricks issue

artyorsh commented 4 years ago

Duplicates #280