I'm currently using Rellax for a couple of (reusable) components. The page does not reload since I'm using Barba, I'm trying to check if the component changes. From here I'm starting to see some issues though.
The main issue I'm facing right now is that the element is not bound to the parent container for some reason. This is not consistent though, sometimes, the element does not go out of the parent bounds.
I tried a couple of different solutions, here are 2 examples:
I'm currently using Rellax for a couple of (reusable) components. The page does not reload since I'm using Barba, I'm trying to check if the component changes. From here I'm starting to see some issues though.
The main issue I'm facing right now is that the element is not bound to the parent container for some reason. This is not consistent though, sometimes, the element does not go out of the parent bounds.
I tried a couple of different solutions, here are 2 examples:
1. Observer
2. window.setTimeout
Any help is appreciated, thanks in advance.