You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When setting sticky-checkbox on a table the checkbox in the header is not sticky
Steps to reproduce
Declare an o-table element with the following props:
scrollable, sticky-header, sticky-checkbox, checkable, header-checkable
To reproduce the issue I cloned the theme-bulma project and amended Table.vue adding scrollable, sticky-header, sticky-checkbox and header-checkable to the definition in the first example:
When scrolling left, the checkbox in the header should remain visible above the checkboxes on the rows.
Actual behavior
As you can see in the recording below, the checkbox in the header moves off screen:
Comments
I'm a newbie to Vue and Oruga but, on looking at the Oruga source code, I did notice that in Table.vue the tdCheckboxClasses function includes this.thStickyClasses:
Overview of the problem
Oruga version: 0.5.10
Vuejs version: 3.2.45
Description
When setting sticky-checkbox on a table the checkbox in the header is not sticky
Steps to reproduce
Declare an o-table element with the following props:
scrollable, sticky-header, sticky-checkbox, checkable, header-checkable
To reproduce the issue I cloned the theme-bulma project and amended Table.vue adding scrollable, sticky-header, sticky-checkbox and header-checkable to the definition in the first example:
I've also added a number of dummy columns to ensure the table is wide enough to force horizontal scrolling e.g.
I've also amended bulma.ts to add tdStickyClass and stickyHeaderClass to the table classes:
Expected behavior
When scrolling left, the checkbox in the header should remain visible above the checkboxes on the rows.
Actual behavior
As you can see in the recording below, the checkbox in the header moves off screen:
Comments
I'm a newbie to Vue and Oruga but, on looking at the Oruga source code, I did notice that in Table.vue the tdCheckboxClasses function includes this.thStickyClasses:
whereas the thCheckboxClasses doesn't
Wonder if this is where the problem lies?
The text was updated successfully, but these errors were encountered: