wagerfield / parallax

Parallax Engine that reacts to the orientation of a smart device
http://wagerfield.github.io/parallax/
Other
16.5k stars 2.14k forks source link

Parallax layer flickering on mobile landscape mode #311

Closed ivanblank992 closed 7 months ago

ivanblank992 commented 3 years ago

Hi there,

I am using this package which is great. On desktop works nice, but on a mobile device(landscape) when I touch screen some layers are flickering, also when using the gyroscope. I am developing a fullscreen landing page using parallax so I need x and y movements. Also, is there any way to zoom out any of the layers So I do not need to use transform scale? Thank you in advance

reneroth commented 7 months ago

To add custom transforms to layers (e.g. zoom out), you'd need to wrap the contents of that layer into another wrapping div to which you apply the transforms, because the library itself is applying transforms to each layer.

Closing this issue because old + no demo