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

handleOverlayOnClick is not stopping click event propagation

Open joaoGabriel55 opened this issue 3 years ago • 0 comments

Summary:

Modal is propagating the click event to the parent component

Steps to reproduce:

See the issue example link

Expected behavior:

Modal must not propagate the click event to the parent component.

Link to example of issue:

https://stackblitz.com/edit/react-wa4nwp?file=src/App.js

joaoGabriel55 avatar Apr 20 '22 14:04 joaoGabriel55