patternfly / patternfly/react-data-view

DataView: sticky columns (Name,Actions) stop working after migrating column title to cell

Aperta
#629 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

  • #645 di @johnsonm325 — chiusa senza merge
Lingua principale
TypeScript
Stelle
4
Fork
21
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Direzione di ricerca

Inizia dalla gestione delle sticky columns intorno a column.props, nameCellProps e actionsCellProps in ConsoleDataView.tsx, quindi esamina la pull request collegata #645 per verificare il tentativo di correzione. Riproduci il comportamento della tabella DataView ridimensionabile descritto per l'elenco dei Nodes e verifica che Name e Actions rimangano fissati durante lo scorrimento orizzontale.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
react, typescript
Ambito
frontend
Tipo di issue
Bug
Difficoltà
3/5
Tempo stimato
1-2 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
35/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.