-
Notifications
You must be signed in to change notification settings - Fork 83
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
Grid resize handle overlaps column sorter #5637
Labels
Comments
CSS-based workaround until this is fixed:
|
yuriy-fix
added
bug
Something isn't working
Impact: Low
Severity: Major
vaadin-grid
labels
Mar 8, 2023
DiegoCardoso
added a commit
that referenced
this issue
Aug 29, 2024
Decrease the resize handle area to use `--lumo-size-s` to avoid any overlapping with the column sorter when the column width is reduced. Also uses the resize handle width to calculate the amount of translation in the X axis to make it better center aligned. Fixes #5637
2 tasks
vaadin-bot
pushed a commit
that referenced
this issue
Aug 30, 2024
* fix: make resize handle not overlap with column sorter Decrease the resize handle area to use `--lumo-size-s` to avoid any overlapping with the column sorter when the column width is reduced. Also uses the resize handle width to calculate the amount of translation in the X axis to make it better center aligned. Fixes #5637
DiegoCardoso
added a commit
that referenced
this issue
Aug 30, 2024
…4.4) (#7720) * fix: make resize handle not overlap with column sorter Decrease the resize handle area to use `--lumo-size-s` to avoid any overlapping with the column sorter when the column width is reduced. Also uses the resize handle width to calculate the amount of translation in the X axis to make it better center aligned. Fixes #5637 Co-authored-by: Diego Cardoso <diego@vaadin.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
The resize handle overlaps the column sorter, on columns that are both resizable and sortable, leaving only a few pixels of interaction area for the sorter, making it quite difficult to hit.
Expected outcome
The resize handle should be just small enough not to overlap the sorter.
A suitable size for the handle would probably be
--lumo-size-m
, as that is the size of the padding between the sort indicator and the cell edge, and the resize handle extends 50% into the cell on each side.Minimal reproducible example
Steps to reproduce
Make the column small enough that there is no extra space to the right of the sort indicator, and then try using the sort indicator.
Environment
Vaadin version(s): V14–V24
Browsers
Issue is not browser related
The text was updated successfully, but these errors were encountered: