Skip to content

TableLayout: sizes are not rounding correctly #9448

@lixiaoyan

Description

@lixiaoyan

Provide a general summary of the issue here

When a table has a non-integer width (for example, a percentage width based on the page size), TableLayout may round it up to a larger size, which can cause a horizontal scrollbar to appear.

🤔 Expected Behavior?

Table should not have horizontal scrollbar.

😯 Current Behavior

Table may be scrolled horizontally, even if overflow-x: clip is set.

💁 Possible Solution

No response

🔦 Context

No response

🖥️ Steps to Reproduce

https://stackblitz.com/edit/dtqtnckm?file=src%2FExample.tsx

Screen.Recording.2026-01-08.at.1.54.09.PM.mov

Version

1.14.0

What browsers are you seeing the problem on?

Chrome

If other, please specify.

No response

What operating system are you using?

macOS

🧢 Your Company/Team

No response

🕷 Tracking Issue

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions