Autodesk / Autodesk/react-base-table
Is is possible to set width to maxContent?
- Lenguaje dominante
- TypeScript
- Estrellas
- 1.5k
- Forks
- 170
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
When rendering the table, I'd like the table width to match whatever the max content of the table contents is.
is this possible? Currently it seems using Autosizer, I need to set an actual number to the width attribute, but ultimately, like a div, I'd like to set it to "maxContent" or an equivalent.
Appreciate if you let me know how I might do that.
Guía de contribución
Línea de trabajo
El issue menciona Autosizer y el atributo width de la tabla, pero no indica archivos ni tests. Empieza rastreando cómo Autosizer gestiona width y compara el comportamiento de la tabla con el dimensionamiento CSS max-content. Se considerará terminado cuando se documente o implemente una forma compatible de dimensionar la tabla según su ancho máximo de contenido, con un test adecuado que cubra ese comportamiento.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- css, react, typescript
- Área
- frontend
- Tipo de issue
- Nueva funcionalidad
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Estado de actividad
- Estancado
- Claridad
- Necesita aclaración
- Aptitud para principiantes
- 35/100