Fomantic-UI icon indicating copy to clipboard operation
Fomantic-UI copied to clipboard

Mouse down event inside modal and mouse up outside modal should not close modal dialog when detachable false

Open rmarchiori opened this issue 7 years ago • 0 comments

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

  1. Open fiddle
  2. Click inside the modal selecting the text input
  3. 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

Fiddle

Version

component modal 2.7.8

rmarchiori avatar Oct 03 '19 12:10 rmarchiori