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

Minimum gap to 0 for flex/grid via the inspector #6440

Closed
ruggi opened this issue Oct 1, 2024 · 0 comments · Fixed by #6441
Closed

Minimum gap to 0 for flex/grid via the inspector #6440

ruggi opened this issue Oct 1, 2024 · 0 comments · Fixed by #6441
Assignees

Comments

@ruggi
Copy link
Contributor

ruggi commented Oct 1, 2024

No description provided.

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

The grid and flex gap inspector controls can go negative, either by
scrubbing as well as direct input.

**Fix:**

1. Add `minimum={0}` to those number inputs so the scrubbing cannot go
lower than 0
2. Clamp the value calculated in the number input so it stays between
the min/max bounds.

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

The grid and flex gap inspector controls can go negative, either by
scrubbing as well as direct input.

**Fix:**

1. Add `minimum={0}` to those number inputs so the scrubbing cannot go
lower than 0
2. Clamp the value calculated in the number input so it stays between
the min/max bounds.

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