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

Animations are not detected on pseudo-elements #24

Open
kizu opened this issue Sep 12, 2023 · 1 comment
Open

Animations are not detected on pseudo-elements #24

kizu opened this issue Sep 12, 2023 · 1 comment
Labels
bug Something isn't working external Issue caused by an external dependency FAQ This question/bug is part of the FAQ

Comments

@kizu
Copy link

kizu commented Sep 12, 2023

When there is an animation on a pseudo-element, it is not detected by the extension. Reading the announcement post, it seems that you're using the $0 to get the element (when you mention the iframe issue), so I imagine this is unfixable unless there'd be a way to get the info about the selected pseudo-element somewhere in the extension API?

Screen.Recording.2023-09-12.at.21.50.16.mov

Link to reproduce: https://kizu.dev/scroll-driven-animations/#stuck-states-for-the-sticky-headers — all sticky headers examples have one element and one pseudo-element.

@bramus
Copy link
Owner

bramus commented Apr 15, 2024

Using $0 indeed, and that’s getting me back the element instead of the pseudo. I have filed https://issues.chromium.org/issues/334984154 for this on the Chromium side.

Marking this as FAQ to get people to know that the extension does not play nice with pseudo elements.

@bramus bramus added bug Something isn't working FAQ This question/bug is part of the FAQ external Issue caused by an external dependency labels Apr 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working external Issue caused by an external dependency FAQ This question/bug is part of the FAQ
Projects
None yet
Development

No branches or pull requests

2 participants