-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Description
Subject of the issue
We need very small drag and resize steps, so we increased the grid resolution by setting:
- column: 1000
- cellHeight: 1
- margin: 3
Your environment
GridStack v12.4.2
Angular 21
After this change, resizing behaves unexpectedly.
Steps to reproduce
Angular demo:
https://stackblitz.com/edit/stackblitz-starters-ifdclhe3
- Open the StackBlitz demo.
- Resize the 3rd widget (right-left).
- Decrease its width from left to right in small steps.
- Repeat the resize several times.
Expected behavior
While resizing horizontally (west handle), the widget also increases in height from the bottom, even though only horizontal resizing is being performed.
The height (h) changes unexpectedly during horizontal resize.
This does not appear to be a collision issue — it happens during repeated small horizontal adjustments.
Notes
We are not sure if this is a bug or if we are using the grid in an unintended way.
Perhaps we are misconfiguring something when using very high column counts and very small cellHeight.
If this is expected behavior, we would appreciate guidance on the correct way to achieve minimal drag/resize step precision.
Thank you for the great library — we really appreciate the work behind GridStack.
And apologies if we are doing something wrong on our side.