Forum Discussion
Zoom interaction on mobile phone breaks slide in SL360 version, works fine in SL2
I am still experiencing this on Mobile is there a fix?
Hey Phil,
We managed to prevent zoom regions from 'breaking' on mobile devices by editing the app.js file and removing touch gestures completely. The issue stems from the fact that, on mobile devices, users can pinch to zoom, and navigate by swiping left/right... Normally, this would be fine, but the way the Storyline player is scripted, it doesn't account for the fact that the slide offset can change with zoom regions - so whenever the Storyline player attempts to 're-centre' the slide, it always goes back to the (0, 0) coordinates.
If you are fine with completely disabling pinch-to-zoom and swipe-based navigation, you can disable them by making the following changes to the published output:
- Open app.min.js in your course output folder
- Search for 'shouldSwipe:function(e){' and replace all of the text within the curly brackets with 'return false'
- Search for 'shouldInitPinchZoom:function(){' and replace all of the text within the curly brackets with 'return false'
- Save and rezip course
This is also related to the reason why the loading overlay sometimes disappears on mobile devices. Normally the loading overlay covers the whole slide, but whenever a user swipes left/right, the whole loading overlay gets shifted to beside the current slide (so that the user sees it after swiping). The only issue with this is that if the user ever returns to using button-based navigation, the loading screen is stuck off the slide forever until they re-launch the course.
Not to be negative, but I reported this in full technical detail Articulate Support over a year ago, and they still haven't acted upon fixing it. Hopefully this helps you out in the meantime.
- PhilMayor7 years agoSuper Hero
Thanks Ben, that may work. Really appreciate this :-)
Sent from my iPhone
Related Content
- 11 months ago