8000 Select unselected nodes before dragging by ankri · Pull Request #348 · prevwong/craft.js · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
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

Select unselected nodes before dragging #348

Merged
merged 1 commit into from
Nov 24, 2021
Merged

Select unselected nodes before dragging #348

merged 1 commit into from

Conversation

ankri
Copy link
Collaborator
@ankri ankri commented Nov 22, 2021

Fixes #346 and supersedes #347

Now nodes are selected before dragging if they were not selected before.

Example A)
We have "Button B" currently selected but drag "Button A" without holding the meta key, we only drag "Button A".

demo-a.mov

Example B)
We have "Button B" currently selected, drag "Button A" while holding down the meta key -> we drag both.

demo-b.mov

Example C)
We have no button selected and drag "Button A"

demo-c.mov

Example D)
We have both Buttons selected and drag them without holding down the meta key.

demo-d.mov

@netlify
Copy link
netlify bot commented Nov 22, 2021

✔️ Deploy Preview for craftjs ready!

🔨 Explore the source changes: 8630697

🔍 Inspect the deploy log: https://app.netlify.com/sites/craftjs/deploys/619b81c48628d40008af6f1a

😎 Browse the preview: https://deploy-preview-348--craftjs.netlify.app

@prevwong prevwong merged commit 2b0b626 into prevwong:develop Nov 24, 2021
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.

Connectors: { drag } is not working on 0.2.0 Beta
2 participants
0