Is layout.height really disallowed when layout.autosize=true ?
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 25/100
- issue の種類
- 機能追加
- 明瞭さ
- 説明が足りない
- 活発さ
- 停滞
- 技術スタック
- javascript, react
調査の方向性
responsive-fluid-layout のドキュメントとリンクされている 2 つの CodePen から始め、plotly.js と react-plotly.js で layout.height が layout.autosize に対してどのように動作するかを比較します。テーブルの余白を減らしつつレスポンシブなリサイズを維持するための方針がプロジェクトで決定され、文書化されていれば完了です。
索引モデルが issue の本文から書いたものです。
説明
I've got a responsive table created per this repo's docs:
To make a plot responsive, i.e. to fill its containing element and resize when the window is resized, use style or className to set the dimensions of the element (i.e. using width: 100%; height: 100% or some similar values) and set useResizeHandler to true while setting layout.autosize to true and leaving layout.height and layout.width undefined. This can be seen in action in this CodePen and will implement the behaviour documented here: https://plot.ly/javascript/responsive-fluid-layout/
I would like to reduce the whitespace below the table by using the layout.height property which seems to work in plotly.js (CodePen) and doesn't appear to be prohibited per the responsive-fluid-layout section cited above. Is there another approach we can/should take in react-plotly if the layout.height property must remain undefined here?
- 主要言語
- JavaScript
- スター
- 1.1k
- フォーク
- 138
- 平均マージ
- 3日 2時間
- マージ済み PR(30日)
- 4
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
plotly/react-plotly.js のほかの issue
-
P3 plotly-internal size: 1 task
難易度 3/5 1〜2日 初心者へのやさしさ 45/100
plotly/react-plotly.js#386 ·
-
enhancement P3 size: 1
難易度 3/5 1〜2日 初心者へのやさしさ 65/100
plotly/react-plotly.js#380 · コメント 7 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
plotly/react-plotly.js#358 · コメント 1 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
plotly/react-plotly.js#354 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 30/100
plotly/react-plotly.js#353 · コメント 1 件 ·
plotly/react-plotly.js の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
Seeed-Studio/wiki-documents#5655 · コメント 2 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
-
Edit: CW+ オープンchannels:edit check:passed
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
-
01 type: bug 30 needs: triage 99 tag: UX Accessibility
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
-
documentation
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
quarto-dev/quarto-cli#14915 ·