oblador / angular-parallax

Lightweight & performant parallax scrolling for angular.js.
http://oblador.github.io/angular-parallax/
MIT License
203 stars 44 forks source link

overflow-x:hidden causing gaps #11

Closed jwmortensen closed 10 years ago

jwmortensen commented 10 years ago

When I set the overflow-x: hidden for the body and html the parallax scrolling no longer works. I get big gaps between the elements that are scrolling that are not there if I remove that attribute. It also seems that the scrolling effects no longer work. Do you have any idea why this might be the case?

jwmortensen commented 10 years ago

So I figured out that it was because my window and html had a height of 100%, which meant that the window was not scrolling and was preventing angular-scroll from working.