jossmac / jossmac/react-images
Lightbox only closes when clicked / tapped next to image
Open
bug
- Dominant language
- JavaScript
- Stars
- 2.3k
- Forks
- 433
- PR merge metrics
- No merged PRs in 30d
Description
**Steps to reproduce the behavior:**
- Open an image
- Tap above or below the image to close it
**Expected behavior:**
The image closes as the user doesn't realize that they should clicked next to the image (I didn't).
**Actual behavior:**
The image only closes when clicking next to the image.
Can be reconstructed with:
https://codesandbox.io/s/awesome-bassi-5vn3lvz2n4?from-embed
Contributor guide
Assessment
This issue has not been assessed yet.