dimsemenov / Magnific-Popup

Light and responsive lightbox script with focus on performance.
http://dimsemenov.com/plugins/magnific-popup/
MIT License
11.38k stars 3.49k forks source link

Hold mouse left, And drag mouse pointer to popup background and the pop-up would be close. #1146

Closed ghost closed 4 years ago

ghost commented 4 years ago

Hey Team,

I was made aware of an issue where a user might highlight some text inside a form field (especially when it might pre-populate w/ wrong info) and then drag outside the form and the pop-up would close.

You can see my doing that in this video: https://www.screencast.com/t/Vhk9IzmUe

I know the pop-up has operation 'closeOnBgClick: false', I think 'closeOnBgClick: true' is friendly, So I need it, But drag outside the form will close pop-up is unfriendly .

Thanks, Dande

roelandkuiper commented 4 years ago

Hi Dande,

Did you manage to solve this issue? And if so, any tips?

Thanks! Roeland