patternfly / patternfly/react-data-view
DataView: sticky columns (Name,Actions) stop working after migrating column title to cell
Nadie ha tomado este issue todavía.
- #645 de @johnsonm325 — cerrado sin fusionar
- Lenguaje dominante
- TypeScript
- Estrellas
- 4
- Forks
- 21
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
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
Guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Línea de trabajo
Comienza con el manejo de las sticky columns alrededor de column.props, nameCellProps y actionsCellProps en ConsoleDataView.tsx; después, revisa el pull request vinculado #645 para ver el intento de corrección. Reproduce el comportamiento de la tabla DataView redimensionable descrito para la lista de Nodes y verifica que Name y Actions permanezcan fijados durante el desplazamiento horizontal.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- react, typescript
- Área
- frontend
- Tipo de issue
- Error
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Estado de actividad
- Estancado
- Claridad
- Bastante claro
- Aptitud para principiantes
- 35/100