Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

SOLVED

DPS 2015 Gesture API - Vertically lock screen

lore______lore
Level 2
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
lore______lore
Correct answer by
Level 2
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
Neil_Enns_-_Ado
Employee
Employee

Which platform are you seeing this on? iOS?

Neil

lore______lore
Correct answer by
Level 2
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

Neil_Enns_-_Ado
Employee
Employee

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

Neil