dixonandmoe / rellax

Lightweight, vanilla javascript parallax library
https://dixonandmoe.com/rellax/
MIT License
7.04k stars 880 forks source link

Elements get hidden on window resize (in combination with wow.js) #221

Closed michael-feh closed 2 years ago

michael-feh commented 3 years ago

Hey there,

i noticed that when you combine rellax.js with wow.js (for unveiling elements on scroll) elements get hidden by wow.js when you scroll to an element which makes use of both libraries and the change the window width ob the browser:

101981976-ea4f4780-3c70-11eb-87d6-0f53c89f9ada

Any Ideas?

zangab commented 3 years ago

because wowJS is setting visibility: hidden. there's no code which alters the visibility in the rellax library so this is not related to rellaxJS. maybe the wow.sync() function is helping if you call it manually on resize. 🤔

michael-feh commented 2 years ago

I never found a solution for this. For now wouldn't recommend using wow and rellax in combination.