ui icon indicating copy to clipboard operation
ui copied to clipboard

UTable: header row bottom border isn't full table width (safari)

Open falkachu opened this issue 9 months ago • 3 comments

Environment

Operating system macOS 25.2.0 │ │ │ CPU Apple M1 Pro (10 cores) │ │ │ Node.js version v24.12.0 │ │ │ nuxt/cli version 3.31.2 │ │ │ Package manager bun 1.3.7 │ │ │ Nuxt version 4.2.2 │ │ │ Nitro version 2.12.9 │ │ │ Builder vite 7.3.0 │ │ │ Config app, clerk, colorMode, compatibilityDate, css, devtools, echarts, eslint, modules, ssr, ui │ │ │ Modules @nuxt/ui 4.4.0, @vueuse/nuxt 14.2.0, @nuxt/eslint 1.12.1, nuxt-echarts 1.0.1, @clerk/nuxt 1.13.19

Is this bug related to Nuxt or Vue?

Nuxt

Package

v4.x

Version

v4.4.0

Reproduction

Only in safari browser: if you check the table with column pinning in the UTable docs section with a screen small enough so that the table is horizontally scrollable, you can see that the bottom border of the header row ends way before the actual table ends. having the same issue in a production app.

Description

UTable header row bottom border isn't full table width in safari browser. Works fine in chrome.

Additional context

Image

Logs


falkachu avatar Feb 10 '26 11:02 falkachu

Hi! 👋 This issue has been open for 60 days without activity and will be closed in 7 days. Please comment if it's still relevant.

github-actions[bot] avatar Apr 11 '26 12:04 github-actions[bot]

Hi! 👋 This issue was automatically closed due to inactivity. If it's still relevant with the latest Nuxt UI version, feel free to reopen or create a new issue.

github-actions[bot] avatar Apr 19 '26 02:04 github-actions[bot]

Safari doesn’t treat a position: relative as the containing block, so the header border sizes to the scroll container instead of the table. A one-class change on the table fixes it. I’d like to pick this up, if that’s OK.

helloigig avatar Nov 06 '26 10:11 helloigig