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

drag preview entering other element not triggering 'onDragEnter' #189

Open
ivanjeremic opened this issue Feb 17, 2025 · 1 comment
Open

Comments

@ivanjeremic
Copy link

When the drag preview enters an other element even a little bit I expect the element to fire onDragEnter even with it's data, this is currently not working what am I doing wrong or missing?

@ivanjeremic ivanjeremic changed the title drag preview not triggering 'onDragEnter' drag preview entering other element not triggering 'onDragEnter' Feb 17, 2025
@declan-warn
Copy link
Collaborator

Hey @ivanjeremic in Pragmatic drag and drop we rely on the browser to tell us when you are over an element. The browser only considers you to be 'over' the element if your mouse/pointer is over it, it does not consider the drag preview.

Are you seeing onDragEnter fire if you move your mouse over the element?

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

2 participants