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

fix: do not stop ignored dragleave events in grid #8500

Merged
merged 2 commits into from
Jan 13, 2025

Conversation

tomivirkki
Copy link
Member

@tomivirkki tomivirkki commented Jan 13, 2025

Description

Grid currently stops the propagation of all native "dragleave" events which causes the issue. The propagation of "dragleave" event should only be stopped if the grid has a dropMode, in which case corresponding "dragover" and "dragenter" events are also processed by the grid dnd logic

Fixes #8476

Type of change

  • Bugfix

@tomivirkki tomivirkki marked this pull request as ready for review January 13, 2025 11:31
@tomivirkki tomivirkki changed the title fix: do not stop ignored native dnd events in grid fix: do not stop ignored dragleave events in grid Jan 13, 2025
@tomivirkki tomivirkki merged commit 09164e2 into main Jan 13, 2025
9 checks passed
@tomivirkki tomivirkki deleted the fix/grid-ignored-dnd-events branch January 13, 2025 11:41
web-padawan pushed a commit that referenced this pull request Jan 13, 2025
web-padawan pushed a commit that referenced this pull request Jan 13, 2025
@mshabarov
Copy link
Contributor

mshabarov commented Jan 13, 2025

@tomivirkki could we also pick this to 24.4 ?
It's EOL soon and would be great to release this fix as well in the last release of this branch.

@tomivirkki
Copy link
Member Author

@mshabarov cherry-picked here #8503

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

v-drag-over-target is not removed when the drop is ending in a Vaadin Grid
4 participants