Clarity is a scalable, accessible, customizable, open-source design system built with web components. Works with any JavaScript framework, created for enterprises, and designed to be inclusive.
Resizing a cds-grid-column without width can be made to hide the resize-handle. If you resize too much, the content is hidden, and so is the handle
How to reproduce
Check it on your own story for resizable columns
Steps to reproduce the behavior:
Create a cds-grid
Make two columns resizable
Ensure that at least the one we will use has no width value set
Use the resize handle to make the column as small as it can get
Expected behavior
Make it so that the handle stops when a minimum size is reached (when it will be under the next column) so you can still use it.
Versions
Clarity project:
[x] Clarity Core
[ ] Clarity Angular/UI
Clarity version:
[ ] v5.x
[x] v6.x
Framework:
[ ] Angular
[x] React
[ ] Vue
[ ] Other:
Framework version:
React 18
Device:
Type: Windows laptop
OS: Windows 10 and 11
Browser Chrome, Edge, Firefox
Version latest
Additional notes
It should not be done using the width parameter. If you persist column sizes for your table users, changing the size would no longer allow them to be smaller in that new size.
Describe the bug
Resizing a
cds-grid-column
without width can be made to hide the resize-handle. If you resize too much, the content is hidden, and so is the handleHow to reproduce
Check it on your own story for resizable columns
Steps to reproduce the behavior:
cds-grid
Expected behavior
Make it so that the handle stops when a minimum size is reached (when it will be under the next column) so you can still use it.
Versions
Clarity project:
Clarity version:
Framework:
Framework version: React 18
Device:
Additional notes
It should not be done using the width parameter. If you persist column sizes for your table users, changing the size would no longer allow them to be smaller in that new size.