Fomantic-UI
Fomantic-UI copied to clipboard
Mouse down event inside modal and mouse up outside modal should not close modal dialog when detachable false
Bug Report
Mouse down event inside modal and mouse up outside modal should not close modal dialog.
It works with detachable true; It works on firefox but not chrome.
It seems that the mousedown button is not triggering when detachable false because modal div is not inside the dimmer div anymore.
Steps to reproduce
- Open fiddle
- Click inside the modal selecting the text input
- Release the mouse button outside of the modal
Expected result
Modal should not be closed if mouse down event were triggered inside modal dialog
Actual result
Modal is being closed on mouse up event
Testcase
Version
component modal 2.7.8