-
-
Notifications
You must be signed in to change notification settings - Fork 85
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
Input with autocomplete email is partially hidden behind keyboard #430
Comments
Hey @Holalko I tried to paste your code into my example app, but everything works fine there and I always have a constant offset between keybaord and TextInput: RPReplay_Final1714739181.MP4Am I missing anything? |
Thanks @kirillzyusko .. so i guess its an issue with our setup or something.. we use expo, nativewind.. will try to create an example app |
@Holalko thank you ❤️ |
@kirillzyusko so i have created a simple repro https://github.com/Holalko/react-native-keyboard-controller-repro-example The issue is still there but its much harder to reproduce - but in our production repo this happens more often and sometimes the offset is a lot bigger than just few pixels Video on google cuz too big for GH: https://drive.google.com/file/d/14d_5YyHsGBn6zIp3eInjAsR4R3FrzhwB/view?usp=sharing You can see the issue at 0:26 or 1:13 |
Thanks @Holalko 🙏 I'll test your example app tomorrow - let's see if I can reproduce it 👀 |
@Holalko I cloned your repo did everything as per your guide (excluding Maybe I'm missing something? Can you reproduce it on simulator as well? |
Thanks @kirillzyusko , will take a look and let you know |
@Holalko did you have a chance to check? 👀 |
Describe the bug
Input is hidden behind keyboard autocomplete when set to "email"
Code snippet
Repo for reproducing
I would be highly appreciate if you can provide repository for reproducing your issue. It can significantly reduce the time for discovering and fixing the problem.
To Reproduce
Expected behavior
Input is fully visible
Screenshots
RPReplay_Final1714726544.MP4
Smartphone (please complete the following information):
Additional context
It works correctly without autocomplete hint
EDIT:
I tried to console.log the
useKeyboardHandler
and it seems it firesstart
twice but the scroll only reflects the firstThis are the logs from single input focus
The text was updated successfully, but these errors were encountered: