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

Add a new component like HeightControl that allows negative values #61179

Open
protibimbok opened this issue Apr 28, 2024 · 0 comments
Open

Add a new component like HeightControl that allows negative values #61179

protibimbok opened this issue Apr 28, 2024 · 0 comments
Labels
[Feature] UI Components Impacts or related to the UI component system [Package] Block editor /packages/block-editor [Type] Enhancement A suggestion for improvement.

Comments

@protibimbok
Copy link

What problem does this address?

The current implementation of the HeightControl component in Gutenberg lacks support for handling negative values and custom range limits.

What is your proposed solution?

To address this issue, I propose the development of a new component, named SizeControl, which extends the functionality of the existing HeightControl component. The new component will offer users & developers greater flexibility in managing size settings by allowing the input of negative values and enabling customization of the range limits.
The name also can be UnitRangeControl.

@protibimbok protibimbok added the [Type] Enhancement A suggestion for improvement. label Apr 28, 2024
@jordesign jordesign added the [Feature] UI Components Impacts or related to the UI component system label Apr 29, 2024
@mirka mirka added the [Package] Block editor /packages/block-editor label May 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Feature] UI Components Impacts or related to the UI component system [Package] Block editor /packages/block-editor [Type] Enhancement A suggestion for improvement.
Projects
None yet
Development

No branches or pull requests

3 participants