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

Scrollable containers in shadow DOM are ignored if they are parents of the slots into which the target was slotted #916

Open
Remiscan opened this issue Apr 5, 2025 · 0 comments · May be fixed by #917

Comments

@Remiscan
Copy link

Remiscan commented Apr 5, 2025

Hello!

I noticed this library doesn't work on elements that are slotted inside containers that are in a shadow DOM. Here's a simple case where you can see it doesn't work: https://codepen.io/remiscan/pen/ogNVOWQ

(And here's an equivalent case without the shadow DOM, that works: https://codepen.io/remiscan/pen/LEYavyg).

I'll make a pull request with a fix :)

@Remiscan Remiscan linked a pull request Apr 5, 2025 that will close this issue
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 a pull request may close this issue.

1 participant