Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parallax effect not working with backdrop filter #69

Open
varlevi opened this issue Apr 25, 2020 · 3 comments
Open

Parallax effect not working with backdrop filter #69

varlevi opened this issue Apr 25, 2020 · 3 comments

Comments

@varlevi
Copy link

varlevi commented Apr 25, 2020

Hi! Great project you have here. I've loved using it, but have one problem. I set up the parallax effect as instructed by the demo page (I also made the effect more dramatic by increasing the translateZ value). for a while, everything worked fine, but then I added a backdrop-filter: blur(); effect on the container element and the inner element no longer sticks out like before. any idea why this is happening?

@manasmdg3
Copy link

manasmdg3 commented Dec 29, 2020

I am facing the same issue, have you come up with any workaround? @varlevi

@varlevi
Copy link
Author

varlevi commented Dec 29, 2020

Unfortunately, I have not. I ended up just using a transparent background with no blur. Sorry I couldn't be of more help!

@pieter-biesemans
Copy link

CSS filters and 3D do not seem to play nice: https://css-tricks.com/things-watch-working-css-3d/

A possible workaround could be to stack two elements on top of each other. One for the background with the filter, and one for the content with stacking. But this is not easy if you don't have elements with exact widths and heights.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants