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

reparent out of grid #6263

Closed
ruggi opened this issue Aug 27, 2024 · 0 comments · Fixed by #6264
Closed

reparent out of grid #6263

ruggi opened this issue Aug 27, 2024 · 0 comments · Fixed by #6264
Assignees

Comments

@ruggi
Copy link
Contributor

ruggi commented Aug 27, 2024

No description provided.

@ruggi ruggi self-assigned this Aug 27, 2024
ruggi added a commit that referenced this issue Aug 27, 2024
**Problem:**

It's currently not possible to reparent out of a grid.

**Fix:**

Allow reparenting out of a grid while holding `cmd`, like all other
reparenting scenarios.


https://github.com/user-attachments/assets/df75b0ee-5098-4cba-b66c-507697cf03c0

**Notes:**
The grid rearrange strategy now needs to act as a sort of meta strat,
because 1) it needs a custom mouse drag handling (due to the grid
placeholder controls) and 2) cells don't have positioning props so
absolute reparenting needs some massaging in order to work

Fixes #6263
liady pushed a commit that referenced this issue Dec 13, 2024
**Problem:**

It's currently not possible to reparent out of a grid.

**Fix:**

Allow reparenting out of a grid while holding `cmd`, like all other
reparenting scenarios.


https://github.com/user-attachments/assets/df75b0ee-5098-4cba-b66c-507697cf03c0

**Notes:**
The grid rearrange strategy now needs to act as a sort of meta strat,
because 1) it needs a custom mouse drag handling (due to the grid
placeholder controls) and 2) cells don't have positioning props so
absolute reparenting needs some massaging in order to work

Fixes #6263
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 a pull request may close this issue.

1 participant