react-modal-hook icon indicating copy to clipboard operation
react-modal-hook copied to clipboard

when I try to select a text in an input in the modal and overdrag the modal it gets closed

Open capaj opened this issue 5 years ago • 0 comments

This is never what a user expects/wants to happen.

I think this might be because you're using onClick even handler on the overlay. It might be better to use onMouseDown instead.

capaj avatar Nov 21 '20 07:11 capaj