SAP / ui5-webcomponents

UI5 Web Components - the enterprise-flavored sugar on top of native APIs! Build SAP Fiori user interfaces with the technology of your choice.
https://sap.github.io/ui5-webcomponents/
Apache License 2.0
1.5k stars 260 forks source link

TableSelection: unnecessary horizontal overflow #9679

Open Lukas742 opened 1 month ago

Lukas742 commented 1 month ago

Bug Description

If the Table is implementing the selection feature, there is an unnecessary horizontal overflow for some sizes. Also, some header texts are cut-off.

image

Affected Component

ui5-table, ui5-table-selection

Expected Behaviour

If enough space is available, there shouldn't be an overflow (no scrollbar) and the header text should always be visible (if not restricted by e.g. column width).

Isolated Example

https://stackblitz.com/edit/github-ltccua-sqsrrf?file=main.js,index.html,package.json

Steps to Reproduce

  1. Go to StackBlitz
  2. See that although there'd be enough space for all the content to be visible, there's an scrollbar displayed and some of the headers are cut-off.
  3. You can observe the same in your playground

Log Output, Stack Trace or Screenshots

No response

Priority

None

UI5 Web Components Version

2.1.1

Browser

Chrome

Operating System

No response

Additional Context

No response

Organization

UI5WCR

Declaration

unazko commented 1 month ago

Hello @SAP/ui5-webcomponents-topic-core,

The issue is reproducible via the provided by @Lukas742 example. Please do follow up on this issue.

Best regards, Boyan

ilhan007 commented 1 week ago

Hello @simlin @aborjinik @DonkeyCo this bug is reported for the v2 Table - assigning you.