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

disable pointer events if clicks are disabled #456

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

disable pointer events if clicks are disabled #456

wants to merge 1 commit into from

Conversation

roksprogar
Copy link

Hey, thanks for this wonderful library.

Dunno if you're going to include this change, but I used it for one of my projects: https://www.precisefunnels.com/profitable-online-shop.

My problem was, that even though the clicks were disabled in particles json, the author name and share buttons still weren't clickable in the header (because the particles canvas was still intercepting clicks), so I solved this with css pointer-events.

Maybe this should be universal behavior.

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

Successfully merging this pull request may close these issues.

1 participant