patternfly / patternfly/react-data-view
DataView: sticky columns (Name,Actions) stop working after migrating column title to cell
Dieses Issue hat noch niemand übernommen.
- #645 von @johnsonm325 — ohne Merge geschlossen
- Vorherrschende Sprache
- TypeScript
- Sterne
- 4
- Forks
- 21
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
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
Beitragsleitfaden
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Rechercherichtung
Beginne mit der Sticky-Column-Behandlung rund um column.props, nameCellProps und actionsCellProps in ConsoleDataView.tsx und überprüfe anschließend den verknüpften Pull Request #645 auf den dort versuchten Fix. Reproduziere das für die Nodes-Liste beschriebene Verhalten der größenveränderbaren DataView-Tabelle und verifiziere, dass Name und Actions beim horizontalen Scrollen angeheftet bleiben.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- react, typescript
- Bereich
- frontend
- Issue-Typ
- Bug
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 35/100