Reputation: 238
Is there a way in a Windows 8 app using HTML/JS to snap the user's panning of a Hub control only to each Hub Section so that the user always lands exactly on a section?
Upvotes: 0
Views: 753
Reputation: 26
Try switching the Snap Point Type from Proximity to Mandatory:
.win-hub-viewport {
-ms-scroll-snap-type: mandatory;
}
http://msdn.microsoft.com/en-us/library/windows/apps/hh466057.aspx
Possible values are:
Upvotes: 1