Skip to content

fix(tree): initialize drag data before onDragStart - #85

Merged
aibayanyu20 merged 2 commits into
nextfrom
sync/rc-component-tree-1071
Aug 31, 2026
Merged

aibayanyu20 merged 2 commits into
nextfrom
sync/rc-component-tree-1071

Conversation

@aibayanyu20

Copy link
Copy Markdown
Member

Summary

  • initialize fallback drag data before invoking the consumer drag-start callback
  • let consumers inspect the populated dataTransfer state from onDragStart
  • add regression coverage

Upstream

Verification

  • tree tests: 16 passed

@aibayanyu20
aibayanyu20 merged commit 4c543db into next Aug 31, 2026
1 check passed
@aibayanyu20
aibayanyu20 deleted the sync/rc-component-tree-1071 branch November 11, 2026 13:51
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

Successfully merging this pull request may close these issues.

1 participant