Bug: keydown:Enter is blocked by imagelightbox
See original GitHub issueimagelightbox blocks the use of the Enter button.
How to reproduce
- Go to https://rejas.github.io/imagelightbox/ with your browser
- Open the developer tools [F12]
- Manipulate the DOM with creating a
textarea
tag after the container div, see the example below - Click inside the new textarea to focus it
- Try to create a line break by using the Enter key on your keyboard.
Code example:
It should look like this
What I expect
The Enter key should create a line break.
What happens instead?
The Enter key creates no line break.
Issue Analytics
- State:
- Created 6 years ago
- Comments:11 (8 by maintainers)
Top Results From Across the Web
rejas/imagelightbox release history - changelogs.md
Fixed #201, a bug with videos not being preloaded if they were added to an already ... Fixed #133 keydown:Enter is blocked by...
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
First: Best bug report I’ve seen in my life, well done! Second: Confirmed, introduced via commit 36de2f0bcd1b7e904b26f8dbccc79577404608b6 in https://github.com/rejas/imagelightbox/pull/118 Third: Maybe @paxperscientiam can say for what that culprit line 559 is needed?
Released v0.8.0, hope it helps 😃