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

Page is refreshed when using <picture> tag as link #17

Open
user451421541757324 opened this issue Feb 7, 2023 · 0 comments
Open

Page is refreshed when using <picture> tag as link #17

user451421541757324 opened this issue Feb 7, 2023 · 0 comments

Comments

@user451421541757324
Copy link

user451421541757324 commented Feb 7, 2023

I have something like this:
<a href="/m/16" data-link> <picture> ... </picture> </a>

I tried with a > * { pointer-events: none } in CSS but it doesn't work and the image is now not-clickable (however normal images (<a href="/m/16" data-link> <img> </a>) work).

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

1 participant