plotly / plotly/plotly.js

scrollbar is made invisible without deactivating it

Offen
#4,961 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

bug P3
Vorherrschende Sprache
JavaScript
Sterne
18.3k
Forks
2k
Ø Merge
2 T. 12 Std.
Gemergte PRs (30 T.)
28

Beschreibung

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.

Beitragsleitfaden

Beitragsleitfaden öffnen

Erste Schritte

  1. Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
  3. Forke das Repository und arbeite in einem Branch.
  4. Öffne einen Pull Request, der die Issue-Nummer nennt.

Rechercherichtung

Beginne mit dem Tabellenbeispiel unter https://plotly.com/python/table/ und reproduziere das Problem, indem du dort klickst, wo bei einer kurzen Tabelle die Bildlaufleiste erscheinen würde. Verfolge das Bildlaufverhalten und die Konfiguration der Tabelle; abgeschlossen ist die Aufgabe, wenn ein Klick auf diesen Bereich keine Zeilen mehr aus der Ansicht entfernt, entweder durch eine automatische Deaktivierung oder eine explizite Bildlaufoption.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
javascript
Bereich
data-visualization
Issue-Typ
Bug
Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
35/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.