Skip to content

Experimental Drang&Drop support #8729

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

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Experimental Drang&Drop support #8729

wants to merge 3 commits into from

Conversation

ogoffart
Copy link
Member

@ogoffart ogoffart commented Jun 19, 2025

Add a DragArea and DropArea elements.
It is currently gated as experimental.

Use it in the live-preview for the drag&drop between the component library and the preview.

CC #1967

@ogoffart ogoffart requested review from tronical and hunger June 19, 2025 08:29
Copy link
Member

@tronical tronical left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For an internal implementation, this looks good to me.

How does it behave when I start a drag and move the mouse outside of the application's window? Does the cursor remain in the cannot-drop shape?

(Prepare to add non-copy data in it)
ogoffart added 2 commits June 19, 2025 13:53
Add a `DragArea` and `DropArea` elements.
It is currently gated as experimental.
@ogoffart
Copy link
Member Author

How does it behave when I start a drag and move the mouse outside of the application's window? Does the cursor remain in the cannot-drop shape?

Yes, the cursor remain in the cannot-drop shape.

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.

2 participants