Skip to content

More lighboxes are opened when the "Enter" key is pressed on an expanded image. #151

@ryandonsullivan

Description

@ryandonsullivan

When an image is expanded within a lighbox, if you press the enter key on the keyboard, it opens an identical lightbox on top of the existing one. This can be replicated infinite number of times as far as we can tell, and every subsequent lightbox has to be closed one by one in order for the lightbox to be closed.

Here's a quick demo of the bug: http://g.recordit.co/w47jYHOy3c.gif

When the screen flashes the first 6 times, I'm hitting the enter key. Then you can see the screen flash six more times when I click the close button.

This is using the default markup with no customizations.

I hope that's not too confusing. If you need additional details I'll be happy to provide them. Thanks in advance.

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions