Replies: 3 comments
-
It looks like Would you mind quickly try to specify If it still doesn't resolve the problem, then I'll try to clone your repo and see what happens there! |
Beta Was this translation helpful? Give feedback.
-
Hi @kirillzyusko, Here I added the Screen.Recording.2025-02-01.at.10.57.53.PM.movMy issue mainly is that I want the formsheet to appear over the keyboard but I dont know why it happens when I disable the module but also more weirdly why only the second time I disable the module. Clearly disabling the module still does something which produces the expected behavior. |
Beta Was this translation helpful? Give feedback.
-
Oh, yeah, I see now @itsramiel what are you talking about I'll look into your issue! |
Beta Was this translation helpful? Give feedback.
-
Hi,
I would like to understand the behaviour of something I am encountering. I have a screen which uses the presentation
formsheet
fromreact-native-screens
v4 andreact-navigation
v7 which has a text input.The code looks like this:
The behaviour so far is(iOS seems to have the formsheet above the keyboard while on Android the keyboard covers the input):
Simulator.Screen.Recording.-.iPhone.16.Pro.-.2025-01-31.at.12.33.48.mp4
Screen.Recording.2025-01-31.at.12.34.18.PM.mov
Now If I wrap the app with the
KeyboardNavigator
like so:Then I still get the same behaviour as shown in the previous screen recording.
Weird Part
Now if I add the following code to the HomeScreen(not FormSheetScreen), which enables the lib on focus and disables it on blur:
then the SECOND time I navigate to the formsheet screen, the formsheet becomes above the keyboard.
Simulator.Screen.Recording.-.iPhone.16.Pro.-.2025-01-31.at.12.52.55.mp4
Screen.Recording.2025-01-31.at.12.52.07.PM.mov
My question
Why did the formsheet appear on top of the keyboard but only the second time I disabled the library? Note that the desired behavior is to have the formsheet appear on top of the keyboard but I dont understand why it happened when I disabled the library. Also why only on the second disabling?
Beta Was this translation helpful? Give feedback.
All reactions