plotly/dash

dashtable with pagination: tooltips appear in wrong place

Aberta

#1.848 aberto em 1 de dez. de 2021

 (8 comentários) (0 reação) (0 responsável)Python (1.973 forks)batch import
P3bugdash-data-tablegood first issue

Métricas do repositório

Stars
 (20.317 estrelas)
Métricas de merge de PR
 (Métricas PR pendentes)

Description

Describe your context

  • packages
dash                              2.0.0
dash-auth                         1.4.1
dash-colorscales                  0.0.4
dash-daq                          0.5.0
dash-renderer                     1.9.1
  • It's frontend related:

    • OS: MacOS 11 (Big Sur)
    • Browser: Firefox
    • Version 94.0.2

Describe the bug

When using dashtable pagination together with tooltips, then the tooltips only appear correctly on page one. On all other pages, the tooltip appears in the top left of the table (see screenshot).

This bug might be connected to row_index more generally. We found that style_data_conditional using row_index to specify the row of a table doesn't work on pages 2+ either.

Expected behavior

Tooltips should appear at the correct position.n all pages of a paginated dash-tables.

Screenshots

Guia do colaborador