avalanche-canada / ac-web

Avalanche Canada - Website and API
https://avalanche.ca
29 stars 27 forks source link

erratic scrolling behaviour #4

Closed whyvez closed 10 years ago

whyvez commented 10 years ago

@BenShaw still getting weird scrolling behaviour in Chrome (latest): scrolls to more but doesn't scroll within more. In Firefox it works but touchy when scrolling back up i.e. triggers map very easily. Have you looked into using ngAnimate with ngView to animate page transitions? You could get a similar behaviour to singlepage,js using native angular and it might be less intrusive.

benshaw commented 10 years ago

This does not seem to be a google chrome issue this time as i have tested on other google chrome installs and it works fine. For now i think we continue with fullpage.js and attempt to get it working cleanly but I am not attached to it and happy to look into using nganimate. I did think of this but I figured it would be less work to use an off the shelf library. Yves when you get a chance i would be interested to see the issues you are having (screen share) and maybe we can go from there.

benshaw commented 10 years ago

Issue seems to be something todo with map integration. After integrating map code in i now see this issue in both chrome and firefox.

benshaw commented 10 years ago

Issue happens inconsistently

benshaw commented 10 years ago

also incosisten issue with map scroll and page transition. will investigate replacing with nganimate

benshaw commented 10 years ago

fixed issue with map scrolling by adding normalScrollElements:'#map' possible that scrolling issue is with page loading

benshaw commented 10 years ago

removed fullpage.js unsing animations to simulate page transition instead