Results 12 comments of Jack Tan

I'm having the same issue too. I have to click on the overlay twice if you click on the modal content once for some weird reason.

If you look at the source code, it seems like it was done on purpose. ``` handleContentOnMouseDown = () => { this.shouldClose = false; }; handleOverlayOnClick = event => {...

@diasbruno hey, just wondering if you can input on my previous comment, thanks :)

@diasbruno I'm currently working on a project with a different codebase but it still have this issue. I tried out that codesandbox @VladBrok has linked on Edge and Firefox, as...

Oops sorry! I deleted my previous comment because I realized I got the whole thing wrong, didn't realized you read my message already. Yeah I'm using React v17 atm. I'm...

Ah, it did trigger `_this.handleContentOnMouseUp`, but it is not triggering `handleOverlayOnClick` to reset `this.shouldClose`... this is the reason. Now I need to figure out why... initially I thought because my...

I fixed it! I already have `event.stopPropagation()` on all my `onClick`, but the solution is to actually REMOVE them. The `event.stopPropagation()` is preventing the overlay from being clicked.

No it can't. I have this annoying requirement where I have a button on top of a clickable card. Initially I set `event.stopPropagation()` on the button so the clickable card...

Same for me in 7.1.0. I downgraded to 7.0.1 and 7.0.0, but it is still happening. Did anyone solve this issue?

I realized I need to do `git push origin master` instead of `git push` to fix it. Did you try this?