jossmac / jossmac/react-images

Lightbox only closes when clicked / tapped next to image

Open
#341 3 comments 0 reactions 1 assignee Claimed by @davwheat View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.