windmill-react-ui
windmill-react-ui copied to clipboard
Modal gets closed when mouse is released outside the modal
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
anyone please tell me how to fix this :)