Semantic-Org / Semantic-UI-React

The official Semantic-UI-React integration
https://react.semantic-ui.com
MIT License
13.23k stars 4.05k forks source link

Modal triggered from content of popup does not receive mouse click event #4331

Open jugglingcats opened 2 years ago

jugglingcats commented 2 years ago

Bug Report

Steps

Use a popup triggered on click and where popup content contains a modal with its own trigger.

Expected Result

The modal should appear and components within the modal should receive mouse click events.

Actual Result

The modal appears but any mouse click closes the popup and also the modal without the click event being fired

Version

Latest (2.1.1)

Testcase

https://codesandbox.io/s/2l3n74j9y](https://codesandbox.io/s/semantic-ui-react-forked-80vhm?file=/index.js)

welcome[bot] commented 2 years ago

👋 Thanks for opening your first issue here! If you're reporting a 🐞 bug, please make sure you've completed all the fields in the issue template so we can best help.

We get a lot of issues on this repo, so please be patient and we will get back to you as soon as we can.