Search the Community
Showing results for tags 'ios draggable'.
Found 1 result
IOS - Draggable stop working when leave video fullscreenHello all, I am working with draggable plugin to create a carousel which includes one (or several) HTML5 video inside each pane. I found an issue on iphone (iOS 9, 10+) devices when user goes to fullscreen for video and then exit fullscreen. As you will see in the example below, when you leave fullscreen on iPhone, drag stop working. The fix I found, (which is not a fix by the way!) is to add a "touchend" event in order to call Draggable.endDrag() which bring back the scroll (but it means you need to drag once to be able to scroll after ! (I tried to call startDrag en "touchstart" event but it didn't work. The best way would be to call Draggable.dradEnd() when video exits fullscreen but as we cannot listen to video enter/exit fullscreen on iOS, it is not possible I noticed that if i remove the viewport meta tag, drag works perfectly after exit video fullscreen, but same, it is not a solution. Do you have any idea how to fix that ? Thanks ! Issue can be reproduced here : http://codepen.io/webls/pen/WREarq