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

fix!: update vaadin-grid-selection-column to use autoWidth: true #7232

Merged
merged 4 commits into from
Mar 19, 2024

Conversation

web-padawan
Copy link
Member

@web-padawan web-padawan commented Mar 18, 2024

Description

Fixes #7177

The issue with text-overflow: ellipsis is caused by the fact that hardcoded 58px width isn't sufficient for Lumo as soon as the selection column gets 1px border which is applied to [last-frozen] or [first-frozen-to-end] columns.

Updated to set overflow: visible in Lumo, and also added corresponding visual tests to both Lumo and Material.

Type of change

  • Bugfix

@web-padawan web-padawan force-pushed the fix/selection-column-frozen-overflow branch from 8665a40 to 2f49372 Compare March 18, 2024 14:21
@web-padawan
Copy link
Member Author

Looks like the fix with min-width doesn't work well for frozenToEnd columns which is e.g. vaadin-crud-edit-column.

@web-padawan web-padawan changed the title fix: extend width of the frozen column to include border fix: update selection column cells to use overflow: visible Mar 19, 2024
@web-padawan web-padawan changed the title fix: update selection column cells to use overflow: visible fix!: update vaadin-grid-selection-column to use autoWidth: true Mar 19, 2024
Copy link

sonarcloud bot commented Mar 19, 2024

Quality Gate Passed Quality Gate passed

Issues
2 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

@web-padawan web-padawan removed the request for review from vursen March 19, 2024 10:27
@web-padawan web-padawan merged commit ab7926f into main Mar 19, 2024
9 checks passed
@web-padawan web-padawan deleted the fix/selection-column-frozen-overflow branch March 19, 2024 10:28
@vaadin-bot
Copy link
Collaborator

This ticket/PR has been released with Vaadin 24.4.0.alpha17 and is also targeting the upcoming stable 24.4.0 version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[grid] Frozen selection column shows ellipsis
3 participants