DPS 2015 Gesture API - Vertically lock screen

Avatar

Avatar

lore______lore

Avatar

lore______lore

lore______lore

16-07-2015

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

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

lore______lore

Avatar

lore______lore

lore______lore

16-07-2015

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.

Answers (2)

Answers (2)

Avatar

Avatar

Neil_Enns_-_Ado

Employee

Avatar

Neil_Enns_-_Ado

Employee

Neil_Enns_-_Ado
Employee

16-07-2015

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

Neil

Avatar

Avatar

Neil_Enns_-_Ado

Employee

Avatar

Neil_Enns_-_Ado

Employee

Neil_Enns_-_Ado
Employee

16-07-2015

Which platform are you seeing this on? iOS?

Neil