Autodesk / Autodesk/react-base-table
Is is possible to set width to maxContent?
オープン
- 主要言語
- TypeScript
- スター
- 1.5k
- フォーク
- 170
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
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.
コントリビューションガイド
調査の方向性
この issue では Autosizer とテーブルの width 属性が挙げられていますが、ファイルやテストは指定されていません。まず Autosizer が width をどのように扱っているかを追跡し、テーブルの挙動を CSS の max-content サイジングと比較してください。テーブルをコンテンツの最大幅に合わせてサイズ設定する、サポートされた方法を文書化または実装し、その挙動を適切なテストでカバーできれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- css, react, typescript
- 領域
- frontend
- issue の種類
- 機能追加
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 35/100