Expand my Community achievements bar.

SOLVED

DPS 2015 Gesture API - Vertically lock screen

Avatar

Level 2

Hi!

I have been playing around with the new gesture API for html articles for the last few days, and I was wondering if there is a way to lock the screen vertically. Even by calling disableNavigation(), the screen bounces on swiping up - down (I am integrating up-down swiping using hammer.js). Would be really useful for implementing some custom animations. Is there a way to achieve this behaviour?

Thank you!

Lorenzo

1 Accepted Solution

Avatar

Correct answer by
Level 2

Neil, I tried to rebuild the app (yes, it's iOS), and actually, there is not more bouncing when disableNavigation is on. Not sure where the problem was coming from. Marking as solved.

View solution in original post

3 Replies

Avatar

Employee

Which platform are you seeing this on? iOS?

Neil

Avatar

Correct answer by
Level 2

Neil, I tried to rebuild the app (yes, it's iOS), and actually, there is not more bouncing when disableNavigation is on. Not sure where the problem was coming from. Marking as solved.

Avatar

Employee

It may have been a bug fixed in the release that went out late Monday. Glad it's working!

Neil