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

Support: Pragmatic does not work inside shadow dom #116

Open
PirAt39 opened this issue Sep 12, 2024 · 0 comments
Open

Support: Pragmatic does not work inside shadow dom #116

PirAt39 opened this issue Sep 12, 2024 · 0 comments

Comments

@PirAt39
Copy link

PirAt39 commented Sep 12, 2024

Please follow this code snippet

I found a similar issue Support: Web components with shadow dom. Only difference is that here we have pragmatic draggable inside shadow dom. I have a requirement where I have a custom element using Lit.js which is going to contain a list of other custom lit component and I should be able to reorder elements and also be able to drop element in some other dropable custom element. I am stuck in first step, i.e., making the custom element draggable. So I have made above snippet very simple.

As you can see that I have used draggable to make the div.draggable elements draggable. Interesting thing is that, it makes the elements draggable. But event function like onDrag, onDragStart, etc does trigger at all.

cc alexreardon

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