question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

KeyboardAvoidingView bug on TransitionStart

See original GitHub issue

Description

Apparently due to the loss of focus on the screen, the KeyboardAvoidingView changes its state. See screenshots for more details. If I use event TransitionStart and call Keyboard.dismiss, then nothing happens while I swipe the screen. Is it possible to somehow solve this problem?

Screenshots

GitHub Logo GitHub Logo

Package versions

{
  "@react-navigation/native": "^5.9.4",
  "react-native-screens": "^3.3.0",
  "react": "17.0.1",
  "react-native": "0.64.1"
}

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
danitattcommented, Jun 9, 2021

I would like to achieve more correct work of KeyboardAvoidingView. I think it’s the focus on the screen. When transitionStart starts, the screen loses focus and the KeyboardAvoidingView transforms.

I wish the KeyboardAvoidingView was not responsive to transitionStart, like telegram (gif from telegram).

Telegram Keyboard
0reactions
danitattcommented, Jun 9, 2021

@WoLewicki no, this not fix problem =/. The keyboard dismiss after when the screen comes back. With this fix, it began to seem more bugs 😔😔

Read more comments on GitHub >

github_iconTop Results From Across the Web

KeyboardAvoidingView bug on TransitionStart
Did you know: You can turn off automatic updates under Devices in the footer? Unable to fetch module snackager-1/react-native-screens~native ...
Read more >
react-native-screens
Apparently due to the loss of focus on the screen, the KeyboardAvoidingView changes its state. See screenshots for more details. If I use...
Read more >
159.203.103.78/himanshutank/pinal-mobile-react-nat...
... InputAccessoryView(){return r(d[10])},get KeyboardAvoidingView(){return ... Agency",email:"info@flexible.agency"},bugs:{url:"https://github.com/flexible ...
Read more >
react-native-screens
KeyboardAvoidingView bug on TransitionStart. heroandtn3. heroandtn3 CLOSED · Updated 1 year ago · [Android] App crashed reported by the Google Play Store.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found