metafizzy / flickity

:leaves: Touch, responsive, flickable carousels
https://flickity.metafizzy.co
7.52k stars 605 forks source link

Dragging hides IE10 browser window due to body blur() #117

Closed desandro closed 8 years ago

desandro commented 9 years ago

Re-posted from metafizzy/flickity-docs#8 from @timswalling


I really like Flickity, but I'm having some problems with it in IE10. This appears to be related to the body element being blurred, which causes Internet Explorer to move the browser window behind all other non-minimised windows. (You can test this behaviour by running document.body.blur() in Internet Explorer's developer console when you have multiple windows open.)

I've created a reduced test case. The status at the top of the page shows whether the body is currently focused.

Steps to reproduce:

Expected result:

Actual result:

desandro commented 9 years ago

Thank you Tim for putting together this awesome bug report.

The bug is a known issue with IE9 and 10, see article, jQuery UI commit, jQuery UI issue.

Fortunately this bug can be easily resolved by checking for document.body before blurring in drag.js. I'll evaluate fixing this when I'm working on the next release.

desandro commented 8 years ago

IE 10 (10.0.9200.17457) on windows 7, when the draggable element is clicked for the second time, IE window loses focus and send back of other opened windows. But IE is still active on the task bar. When the IE window is pull to front, the draggable element is following the mouse pointer even without dragging.

I'll need to double check this issue.

knapeto commented 5 years ago

Still does not working in IE11 :(