plotly / plotly/plotly.js

scrollbar is made invisible without deactivating it

オープン
#4,961 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

bug P3
主要言語
JavaScript
スター
18.3k
フォーク
2k
平均マージ
2日 12時間
マージ済み PR(30日)
28

説明

When creating a table figure that does not have enough rows to be scrollable it appears you simply make the scrollbar invisible without deactivating it. Because of the short amount of rows in these types of tables, the increment on the invisible scrollbar is large enough that scrolling will remove all of the rows out of view making it seem like they disappeared. From the user end I'd like this fixed as I would not want my users complaining that their tables disappear whenever they click on the right-side of the table where the invisible scrollbar would be.

To replicate the issue simply go to your own tables in Plotly page. https://plotly.com/python/table/

Click to the right of any table on that page around where you'd expect a scrollbar to be and you'll see the issue for yourself.

If it's difficult to track whether or not a data table needs scrolling and disable scrolling automatically, I think simply adding an extra field to the configuration for disabling scrolling would be useful.

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

https://plotly.com/python/table/ のテーブル例から始め、短いテーブルでスクロールバーが表示されるはずの場所をクリックして問題を再現します。テーブル figure のスクロール動作と設定を追跡します。その領域をクリックしても行が表示範囲から削除されなくなれば完了です。自動的な無効化でも、明示的なスクロールオプションでも構いません。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
javascript
領域
data-visualization
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。