Description
Hello, I'm using the slider inside a sweetalert2 modal and have a problem with users trying to slide to the min or max value and accidentally closing the modal.
Clicking and sliding to min/max value with the mouse going outside the modal then releasing the click will close the modal because of click event on background overlay.
Removing stopPropagation fixes the issue because sweetalert2/boostrap knows if the background overlay click was intended or not based on mousedown/mouseup.
Made some tests with stopPropagation removed and seems to work correctly. Will a pull request with this change be merged?
https://css-tricks.com/dangers-stopping-event-propagation/
Expected behaviour
The mousedown events should propagate upwards.
Actual behaviour
The mousedown events don't propagate because stopPropagation is called.