thumbprint
thumbprint copied to clipboard
[@thumbtack/thumbprint-react]: Modal curtain closes on mouseup when dragged from modal content
To reproduce open a modal: https://thumbprint.design/components/modal/react/
- mousedown and hold anywhere inside the modal content
- dragging the mouse outside of the modal content
- mouseup on the dark curtain
For more context: https://thumbtack.atlassian.net/browse/TGT-2976
I believe expected behavior is that dragging inside content and releasing on curtain/scrim does not close modal. See Bootstraps example. https://getbootstrap.com/docs/4.0/components/modal/
cc: @zhaotongpan