patternfly / patternfly/react-data-view
DataView: sticky columns (Name,Actions) stop working after migrating column title to cell
Nobody has claimed this yet.
- #645 by @johnsonm325 — closed without merging
- Dominant language
- TypeScript
- Stars
- 4
- Forks
- 21
- PR merge metrics
- No merged PRs in 30d
Description
Description
After moving column definitions from the legacy title header text to the cell-based header shape (aligned with PatternFly DataViewTh / ConsoleDataViewColumn), horizontally sticky columns no longer stick (e.g. first column “Name” and last “Actions”), even though nameCellProps / actionsCellProps still set isStickyColumn, borders, and related Th/Td props.
Expected
When the table scrolls horizontally, Name (and Actions where configured) remain pinned like other PatternFly scrollable tables with sticky cells.
Actual
Those columns scroll away with the rest of the table; sticky behavior appears broken.
Environment
OpenShift Console (e.g. Nodes list using ConsoleDataView with isResizable).
Reproducible on views that combine resizable DataView tables + sticky column props.
Root cause (for maintainers)
The regression is not caused by dropping title in favor of cell per se. Header thProps (including isStickyColumn) are still applied via column.props.
Jira Issue: PF-3938
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the sticky-column handling around column.props, nameCellProps, and actionsCellProps in ConsoleDataView.tsx, then review the linked pull request #645 for the attempted fix. Reproduce the resizable DataView table behavior described for the Nodes list and verify that Name and Actions remain pinned during horizontal scrolling.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100