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

No event provided on "drag-enter" #12

Closed
nikki-cat opened this issue Apr 19, 2023 · 1 comment
Closed

No event provided on "drag-enter" #12

nikki-cat opened this issue Apr 19, 2023 · 1 comment

Comments

@nikki-cat
Copy link

nikki-cat commented Apr 19, 2023

when using @drag-enter on a Container element, absolutely no event or information on which element you're dragging over is provided. This is problematic as it's then not possible to do any styling on that container.
basically this(not full code):
<Container @drag-enter="onDragEvent($event)"> <--- does not work, in console log, the "$event" is undefined.
How do we get the event with target and source element data and all that? Is this a bug?

@gilnd
Copy link
Owner

gilnd commented Apr 26, 2023

Hi @nikki-cat
This is smooth-dnd design choice, check here.

@gilnd gilnd closed this as completed Apr 26, 2023
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