Skip to content

Conversation

@mstahv
Copy link
Member

@mstahv mstahv commented Jan 12, 2026

Exposes clientX/Y for all D&D events, to allow "repositioning" absolutely positioned drag and drop component. Also exposing offsets of the target and start element (if operation started on top of Vaadin component), so that one can build UIs where "things" are dragged on a specific location of another component.

Fixes #19297

Type of change

  • Bugfix
  • Feature

Test case derived from a community feedback/question
…ation

Added offset coordinates related to start and drop of the operation.
@github-actions
Copy link

github-actions bot commented Jan 12, 2026

Test Results

1 312 files  +2  1 312 suites  +2   1h 14m 42s ⏱️ -47s
9 291 tests +7  9 223 ✅ +7  68 💤 ±0  0 ❌ ±0 
9 745 runs  +5  9 669 ✅ +5  76 💤 ±0  0 ❌ ±0 

Results for commit ec6416a. ± Comparison against base commit 88b9068.

♻️ This comment has been updated with latest results.

@mstahv mstahv marked this pull request as ready for review January 12, 2026 20:15
@mcollovati mcollovati changed the title Adds relevant API to allow drag and drop to a certain location feat: Adds relevant API to allow drag and drop to a certain location Jan 12, 2026
@vaadin-bot vaadin-bot added +0.0.1 and removed +1.0.0 labels Jan 12, 2026
@sonarqubecloud
Copy link

@github-actions github-actions bot added +1.0.0 and removed +0.0.1 labels Jan 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Generic Drag & Drop add drop coordinates

4 participants