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
{{ message }}
Repository navigation
ColumnManagementModal "Reset to default" does not restore column order #885
Component:ColumnManagementModal with enableDragDrop={true}
Description
When using ColumnManagementModal with drag-and-drop enabled, the "Reset to default" button only resets column visibility (isShown back to isShownByDefault) but does not restore the original column order.
The resetToDefault function maps over appliedColumns preserving their current (reordered) positions:
Render a ColumnManagementModal with enableDragDrop={true} and multiple columns
Drag columns to reorder them (e.g., move the last column to the first position)
Click "Save" to apply the new order
Reopen the modal
Click "Reset to default"
Observe that column visibility is restored but the order remains as reordered in step 2
Expected behavior
I think "Reset to default" should restore both column visibility and column order to their original state as defined by the initial appliedColumns prop.
Actual behavior
Only visibility is reset. The column order from the last save is preserved.
Activity
nicolethoen commentedon Mar 27, 2026
@ferhoyos I believe this issue may be a duplicate of #867 and was resolved in #868
So there is a fix in 6.4.0-prerelease.14 and that will be promoted to latest with PF's within the next month.
ferhoyos commentedon Apr 8, 2026
Thanks for the info @nicolethoen!