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

Drag & Drop: provide global 'isDragging' state, expose via render prop param #1912

Closed
thompsongl opened this issue May 2, 2019 · 3 comments

Comments

@thompsongl
Copy link
Contributor

Currently, EuiDraggable knows about its current dragging state (isDragging) and EuiDroppable knows about whether it is currently a valid drop target (isDraggingOver).

We need an extra data point—likely on EuiDragDropContextContext—to provide higher-level awareness that something is currently dragging, exclusive of direct relationships.

Relatedly, we'll need a mechanism by which to expose this and other context data, most likely via render prop parameters, similar to react-beautiful-dnd's snapshot

@github-actions
Copy link

github-actions bot commented Sep 7, 2021

👋 Hey there. This issue hasn't had any activity for 180 days. We'll automatically close it if that trend continues for another week. If you feel this issue is still valid and needs attention please let us know with a comment.

@github-actions
Copy link

👋 Hey there. This issue hasn't had any activity for 180 days. We'll automatically close it if that trend continues for another week. If you feel this issue is still valid and needs attention please let us know with a comment.

@github-actions
Copy link

github-actions bot commented Dec 6, 2022

❌ We're automatically closing this issue due to lack of activity. Please comment if you feel this was done in error.

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

No branches or pull requests

2 participants