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

Keyboard did not hide when componentDidDisappear on android. #7236

Open
suupham2506 opened this issue Sep 1, 2021 · 7 comments · May be fixed by #7295
Open

Keyboard did not hide when componentDidDisappear on android. #7236

suupham2506 opened this issue Sep 1, 2021 · 7 comments · May be fixed by #7295
Labels

Comments

@suupham2506
Copy link

Your Environment

  • React Native Navigation version: 7.19.0
  • React Native version: 0.64.2
  • Platform(s) (iOS, Android, or both?): �Android
  • Device info (Simulator/Device? OS version? Debug/Release?): Real Device
@swabbass swabbass added platform: Android user: more info needed user: requires reproduction This issue requires a reproduction before maintainers can work on it labels Sep 2, 2021
@swabbass
Copy link
Contributor

swabbass commented Sep 2, 2021

Hey thx, can you kindly follow the guidelines and provide what is missing :]

@suupham2506
Copy link
Author

Hey thx, can you kindly follow the guidelines and provide what is missing :]
Uploading 241356519_1212707839201579_380933087523498151_n.png…

@suupham2506 suupham2506 reopened this Sep 6, 2021
@suupham2506
Copy link
Author

241356519_1212707839201579_380933087523498151_n

video-1630898593.mp4

@swabbass
Copy link
Contributor

swabbass commented Sep 6, 2021

From the video, above I see that the react view that lost focus should hide the keyboard, which is not RNN concern AFAIK, we are hosting react views and not handling its content state, for example, we don't know if the pushed screen contains TextInput, or another type of views, so I'm suggesting having a look at this, listen to the back button press on that screen.

Also what I meant by following the guidelines, that when you open a new issue, you found a template, you are welcome to fill each section, also a minimal reproducible code is a project that has minimal code to reproduce your issue, you are welcome to fork and edit our Playground, and share it here as a reproducible demo.

Have a quick read here.

@gevorgsahakyann
Copy link

gevorgsahakyann commented Sep 23, 2021

@suupham2506 What library do you use for the Enquiries and Incident Reports tabs?
If react-native-pager-view library is used under the hood, then the problem might be related to this.

@suupham2506
Copy link
Author

@suupham2506 What library do you use for the Enquiries and Incident Reports tabs? If react-native-pager-view library is used under the hood, then the problem might be related to this.

I didn't use any library for it. I do create it myself using scrollview. @gevorgsahakyann

@swabbass swabbass linked a pull request Oct 12, 2021 that will close this issue
@swabbass
Copy link
Contributor

Hey,
I tried to reproduce the issue with no success.

Screen.Recording.2021-10-26.at.15.48.21.mov

Can you please provide a minimal reproducible demo? a project with a minimal setup that helps reproduce the issue.
Alternatively, you can fork our playground make your changes, push them and share them with us here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants