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

resize grid cells from the sides #6528

Closed
ruggi opened this issue Oct 14, 2024 · 0 comments · Fixed by #6529
Closed

resize grid cells from the sides #6528

ruggi opened this issue Oct 14, 2024 · 0 comments · Fixed by #6529
Assignees

Comments

@ruggi
Copy link
Contributor

ruggi commented Oct 14, 2024

No description provided.

@ruggi ruggi self-assigned this Oct 14, 2024
@ruggi ruggi closed this as completed in ad39087 Oct 14, 2024
liady pushed a commit that referenced this issue Dec 13, 2024
**Problem:**

Instead of having dedicated control handles for resizing a grid cell
(when the child is filling/stretching the parent), we should use instead
the same edge controls used for absolute move.

**Fix:**

1. Factor out the edge components from the absolute resize controls into
a hook `useResizeEdges`, and make it so it accepts custom event
callbacks for the mouse interactions and which cursors to display while
hovering
2. Replace the old grid edge handles in the grid controls with the new
edges, hooking them up with the existing resize logic
3. Show the `ResizeCol`/`ResizeRow` cursors


https://github.com/user-attachments/assets/8ae7eec6-ea33-4b4a-8445-f60390605302

Fixes #6528
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