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
KeyboardAwareScrollView not working on first load of the app after fresh install in production iOS builds #338
Comments
Okay @domenicoprestia thank you for the issue. I'll look into it 👀 |
Hi @kirillzyusko, I've encountered a critical issue with the app. Upon initial installation, the keyboard fails to display. However, it starts working as expected if I force quit the app and then restart it. This could significantly impact the experience of new users. Could you please look into this? |
@hyochan is this problem reproducible in example app? It fails to display on iOS or Android? Without this library everything works fine? Can you provide a minimal reproduction example so that I can look into it? |
@kirillzyusko This seems to be a time-intensive task. I'll do my best, but please understand that I can't make any promises. |
Hi @kirillzyusko in my case, it fails only on ios, and the keyboard is actually showing but the KeyboardAwareScrollView is not scrolling when keyboard is opened. After killing and reopening the app everything is on place and works just fine |
@domenicoprestia were you able to reproduce this problem in example app? 🤔 |
i have to distribute it on the store to reproduce this :I |
@domenicoprestia so you're saying that locally it works fine (even if you assemble a release build and open it from mobile), but if you download the same app from AppStore then |
I've not tried to resemble a build locally, i've only tried it on the simulator with metro, but when i try it from the versions on AppDistribution or on TestFlight the KeyboardAwareScrollView, on iOS, on first launch does not work, i will try to reproduce it on a local build an i will let you know |
I will try to build locally and put it on the simulator asap and i will let you know |
Same problem. Everything worked correctly for me, both when building on an iPhone (debug) and in the emulator. But when my colleague starts the project, the KeyboardAwareScrollView component does not work. But if you close the application completely and open it again, it starts working. It has this behavior both in the emulator and when building in TestFlight. |
@kawasakime can you please describe step by step what I need to do to make it reproducible? Is it reproducible in simulator? If yes, then what I need to make to make it reproducible? Do I need to assemble app and push it into TestFlight and only then I can reproduce the problem? Do I need to pay 99$ for that (to be able to upload app in the store/TestFlight)? |
This is the problem, that we do not understand what this is connected with. Everything worked fine for me, but a colleague has the same problem as described in this issue. At first we couldn’t even understand why the component wasn’t working. We tried to change props and perform other manipulations but nothing helped. Then he tried to close the application from the running list (without turning off the metro console) and opened it again in the emulator - and lo and behold, the component worked. Then we tried to start the project from scratch again (closed metro and started it again), and again the component did not work until we completely closed the application again and opened it again |
@kawasakime okay, that means that at least you have a decent reproduction example (the laptop of your colleague). What happens if you add If it works (i. e. handler gets called) can you log additional params, such as Just to understand why exactly |
Describe the bug
First of all i want to thank you for the great work you've put in in this repo, it's a gamechanger.
I've a form that needs to be inside a KeyboardAwareScrollView, everytime i open the keyboard i've a button that remains sticky to the header of the keyboard (it works well on the first load after a fresh install).
The strange behaviour is that when i update or i install the application on my device (iPhone 12 Pro) the KeyboardAwareScrollView doesnt scroll how it should preventing the keyboard from covering the focused input.
If i reload the app it works fine.
Code snippet
;
Repo for reproducing
The code is private, i cant share it with you sadly.
Expected behavior
The KeyboardAwareScrollView should work as expected on the first load of the app.
Screenshots
RPReplay_Final1705679938.MP4
Smartphone (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: