windmill-react-ui icon indicating copy to clipboard operation
windmill-react-ui copied to clipboard

Modal gets closed when mouse is released outside the modal

Open hademo opened this issue 4 years ago • 1 comments

Reproduction:

Make a left click on a text inside of the modal and do not release the click. Move the mouse outside the modal, then the modal is closed, instead of remaining opened. -->

Suggested solution:

Remove the onMouseRelease event on the drawer and only fire the closing event of the modal, when the drawer is clicked

hademo avatar Feb 20 '21 15:02 hademo

anyone please tell me how to fix this :)

roachadam avatar Mar 04 '23 05:03 roachadam