Setting width for sticky-header is broken

Created on 2 February 2024, 12 months ago
Updated 9 April 2024, 9 months ago

Problem/Motivation

Hello, when switching to VanillaJS, setting the width of the sticky table header (tableheader.js) broke due to the lack of units of measurement.

Steps to reproduce

Create a table with a sticky header in the view, activate the sticky header and check the width of the sticky header table.
You also need your theme to add the .sticky-enabled class to the table. Therefore, the Claro admin theme from core is not suitable for testing as it does not do this. The Gin β†’ theme was used for testing.

Proposed resolution

Add units (px) to the .outerWidth() result.

πŸ› Bug report
Status

Fixed

Version

10.2 ✨

Component
JavascriptΒ  β†’

Last updated about 4 hours ago

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024