On iPhone, on every keystroke input toolbar jumps up and down
See original GitHub issueIssue Description
On iPhone, for every keystroke input toolbar jumps up and down.
I investigated little bit and found that onKeyboardWillShow
is called for every keystroke, and it keeps changing bottomOffset
by this.setBottomOffset(this.safeAreaSupport(this.props.bottomOffset))
It seems code safeAreaSupport
has changed in master (maybe fixes the issue??), but not reflected in the latest version.
Steps to Reproduce / Code Snippets
Type anything on iPhone.
Expected Results
No jumping
Additional Information
- Nodejs version: v13.13.0
- React version: v16.14.0
- React Native version: v0.63.3
- react-native-gifted-chat version: v0.16.3
- Platform(s) (iOS, Android, or both?): iOS
- TypeScript version: 4.0.5
Issue Analytics
- State:
- Created 3 years ago
- Comments:11
Top Results From Across the Web
My keyboard is in the middle of my screen… - Apple Community
Tap and hold on the keyboard icon. It's in the bottom right corner of the keyboard. Select Dock and the keyboard will attach...
Read more >iphone - Move my toolbar up or down based on keyboard and ...
iOS 10, 9 all the way down to 5. UIKeyboardDidChangeFrameNotification. Posted immediately after a change in the keyboard's frame.
Read more >Workspace for iOS / IPad Feature Request - Disable Extended ...
It happens to all iPad Generations, with iOS 15.4.1 and iOS 15.5. ... Up is left, left is down and if we press...
Read more >Stop the iOS keyboard hiding your sticky or fixed position header
But if it is a toolbar for the input (like a WYSIWYG editor, for example), then it is essential! And if it goes...
Read more >Keyboard shortcuts in Microsoft Edge
Keyboard shortcuts in Microsoft Edge ; F12. Open Developer Tools ; Esc. Stop loading page; close dialog or pop-up ; Spacebar. Scroll down...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Try this:
with
useSafeAreaInsets
from react-native-safe-area-contextI solved it by that way