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.

Bug modalbox when TextInput is focused

See original GitHub issue

Steps to reproduce:

  1. open modalbox
  2. click TextInput (and keyboard shown)
  3. close the modal (swipe or back button if backButtonClose is true)
  4. open modalbox again, and modalbox will just opened 0.1 second, then auto-close instantly
  5. if open modalbox again, it will show behavior normal (modalbox will open)

So, there’s no problem on open-close modal, until keyboard is opened.

a

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:3
  • Comments:9 (1 by maintainers)

github_iconTop GitHub Comments

5reactions
felipemartimcommented, Dec 3, 2016

@pewh I had the same problem.

I fixed it by calling Keyboard.dismiss() just before closing the modal.

2reactions
pqkluancommented, Nov 28, 2016

Same issues here, but mine won’t open again untill the app reload.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Set focus to first text input in a bootstrap modal after ...
The issue i face that i want the cursor to focus on the first input in this modal, and this is not happening...
Read more >
Modal box loses focus Error | Support Center
I have an issue where the Robotics loses focus of a modal box ... set focus on Attach file(s) modal dialog box's Select...
Read more >
How to trap focus inside modal to make it ADA compliant
tab, shift + tab and enter key and focus should be trapped inside modal and should not go out after pressing tab key...
Read more >
Creating Message Boxes - Webix
Webix Documentation: Learn how you can communicate with users using message boxes of two types: common info message boxes and modal message boxes...
Read more >
Modal Dialog Example | APG | WAI - W3C
Accessibility Features · Initial focus is set on the first input, which is the first focusable element. · The dialog does not need...
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