Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Keyboardavoidingview does not work with react-navigation in Android #26394

Closed
bommala2019 opened this issue Sep 10, 2019 · 7 comments
Closed
Labels
API: Keyboard Bug Component: KeyboardAvoidingView Platform: Android Android applications. Stale There has been a lack of activity on this issue and it may be closed soon.

Comments

@bommala2019
Copy link

I have a TextInput at the bottom of the mobile screen and when user gets into focus of it , keyboard view is shown but it is getting overlapped with the TextInput and user cant see what is typed in it. For this problem to solve I tried react-native inbuilt compoent 'Keyboardavoidingview' was tried but it did not work as expected in Android. the important point to note here is that I am using react-navigation header component. If I remove this component then it works perfectly so it is issue with the usage of react-navigation component.

React Native version:
React Native Environment Info:
System:
OS: Windows 10
CPU: (8) x64 Intel(R) Core(TM) i7-8650U CPU @ 1.90GHz
Memory: 4.14 GB / 15.88 GB
Binaries:
Yarn: 1.17.3 - C:\Program Files (x86)\Yarn\bin\yarn.CMD
npm: 6.9.0 - C:\Program Files\nodejs\npm.CMD
IDEs:
Android Studio: Version 3.4.0.0 AI-183.6156.11.34.5692245

Steps To Reproduce

  1. Use react - navigation component
  2. Define any textInput at the bottom of the mobile screen.
  3. Type on this textbox.

It is expected that it is automatically scrolled up and user can see what is typed in.

@Novsochetra
Copy link

@bommala2019

According to my experience, I face the problem the same as you.
Have you tried to look at this issue?

Note: Make sure you show the status bar.

@stale
Copy link

stale bot commented Dec 23, 2019

Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. You may also label this issue as a "Discussion" or add it to the "Backlog" and I will leave it open. Thank you for your contributions.

@stale stale bot added the Stale There has been a lack of activity on this issue and it may be closed soon. label Dec 23, 2019
@ARKEOLOGIST
Copy link

Still have this issue.

@stale stale bot removed the Stale There has been a lack of activity on this issue and it may be closed soon. label Dec 27, 2019
@GoranTopic
Copy link

I'm have the exact same issue

@ARKEOLOGIST
Copy link

I fixed my issue at least temporarily by removing android:windowSoftInputMode="adjustResize" from AndroidManifest.xml . I hope this helps some people until a dedicated fix comes along. I'm also using react-navigation in my project.

@stale
Copy link

stale bot commented Apr 7, 2020

Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. You may also label this issue as a "Discussion" or add it to the "Backlog" and I will leave it open. Thank you for your contributions.

@stale stale bot added the Stale There has been a lack of activity on this issue and it may be closed soon. label Apr 7, 2020
@stale
Copy link

stale bot commented Apr 14, 2020

Closing this issue after a prolonged period of inactivity. If this issue is still present in the latest release, please feel free to create a new issue with up-to-date information.

@stale stale bot closed this as completed Apr 14, 2020
@facebook facebook locked as resolved and limited conversation to collaborators Apr 15, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
API: Keyboard Bug Component: KeyboardAvoidingView Platform: Android Android applications. Stale There has been a lack of activity on this issue and it may be closed soon.
Projects
None yet
Development

No branches or pull requests

5 participants