electerious / basicScroll

Standalone parallax scrolling for mobile and desktop with CSS variables.
https://basicscroll.electerious.com
MIT License
3.63k stars 148 forks source link

Without setting height to parent everythings broken? #31

Closed bdrtsky closed 5 years ago

bdrtsky commented 5 years ago

I noticed that if I didn't set height to parent element then it changing values even when element not in viewport. this is very frustrating because in most cases I don't use hardcoded values to parent element.

Is there a workaround?

bdrtsky commented 5 years ago

Turns out, this was conflict with my fit text plugin. Sorry!