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

Table: Only in Safari: Table occupies more space than needed #11205

Open
1 task done
xqtion opened this issue Mar 27, 2025 · 2 comments
Open
1 task done

Table: Only in Safari: Table occupies more space than needed #11205

xqtion opened this issue Mar 27, 2025 · 2 comments
Labels
bug This issue is a bug in the code Low Prio TOPIC TBL

Comments

@xqtion
Copy link

xqtion commented Mar 27, 2025

Describe the bug

Hi,
we've encountered an interesting issue where the table occupies more space than needed only in the Safari Browser. This can be observed in the visual differences for the docs: https://sap.github.io/ui5-webcomponents-react/v2/?path=/docs/data-display-table--docs and especially here https://sap.github.io/ui5-webcomponents-react/v2/?path=/story/data-display-table--with-selection where the table will always load with an additional scroller bar.

Isolated Example

https://sap.github.io/ui5-webcomponents-react/v2/?path=/story/data-display-table--with-selection

Reproduction steps

  1. Access both links above in Safari and Chrome Browser
  2. For the docs, you can see that the table takes up more space overall
  3. For the selection example, there will always be a scroller bar loaded in comparison to none for the Chrome version

Expected Behaviour

Consistency across browsers, especially because the not needed scroller bar would confuse the user in our application.

Screenshots or Videos

Image
Image
Image
Image

UI5 Web Components for React Version

2.8.1

UI5 Web Components Version

2.8.1

Browser

Safari

Operating System

macOS

Additional Context

No response

Relevant log output

Organization

No response

Declaration

  • I’m not disclosing any internal or sensitive information.
@Lukas742
Copy link
Collaborator

Lukas742 commented Mar 28, 2025

Hi @xqtion

Thanks for reporting! I'll forward this issue to our UI5 Web Components Colleagues as the affected component is developed in their repository.


Hi Colleagues, it seems the height (height: -webkit-fill-available;) CSS property of this element is causing the issue.

Safari:

Image

Chrome:

Image

@Lukas742 Lukas742 transferred this issue from SAP/ui5-webcomponents-react Mar 28, 2025
@s-todorova s-todorova added bug This issue is a bug in the code Low Prio TOPIC TBL labels Mar 28, 2025
@s-todorova
Copy link
Contributor

Hello colleagues ,

Could you please take a look at this?

Best,
Siyana

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This issue is a bug in the code Low Prio TOPIC TBL
Projects
Development

No branches or pull requests

3 participants