-
-
Notifications
You must be signed in to change notification settings - Fork 129
Open
Labels
KeyboardStickyView 🩹Anything related to KeyboardStickyView componentAnything related to KeyboardStickyView componentrepro providedIssue contains reproduction repository/codeIssue contains reproduction repository/code🍎 iOSiOS specificiOS specific🐛 bugSomething isn't workingSomething isn't working
Description
Describe the bug
Follow-up to this discussion
A video will be clearer to explain the bug:
keyboard-issue.mov
When tapping to go back, everything is fine (second go back in the video)
When using the gesture, this phantom keyboard is displayed (first and third go back in the video)
RNKC animates its StickyView as if the phantom keyboard was not here, but ends up in the wrong position
Repo for reproducing
https://github.com/matthieugicquel/rnkc-repro-stack
To Reproduce
- Open the keyboard by focusing the text input
- Tap "add screen to stack"
- Go back using a swipe gesture (slowly if you want to see what happens)
- See keyboard already there, and sticky view moving up
Expected behavior
Ideally: have all APIs (KeyboardStickyView, and I guess other included views and hooks) take this phantom keyboard into account and not report the keyboard opening/closing when in the context of the screen in question.
Smartphone
- Device: iPhone 16 Pro
- OS: iOS 26 (reproduced on 18 too)
- RN version: See repro repo
- RN architecture: Fabric
- JS engine: Hermes
- Library version: 1.18.4
Metadata
Metadata
Assignees
Labels
KeyboardStickyView 🩹Anything related to KeyboardStickyView componentAnything related to KeyboardStickyView componentrepro providedIssue contains reproduction repository/codeIssue contains reproduction repository/code🍎 iOSiOS specificiOS specific🐛 bugSomething isn't workingSomething isn't working