react-modal-image icon indicating copy to clipboard operation
react-modal-image copied to clipboard

Clicks "fall through" the modal on mobile

Open whydna opened this issue 2 years ago • 0 comments

You can reproduce this issue in the demo:

  • Tap on an image to open the modal.
  • Tap on another image in the dimmed area behind the modal.

Expected: The modal closes (since you tapped on the dimmed area).

Actual: Modal reopens with the image you tapped behind it.

This error looks related: main.js:2 Unable to preventDefault inside passive event listener invocation.

whydna avatar Jun 13 '23 15:06 whydna