plotly / dash

Data Apps & Dashboards for Python. No JavaScript Required.
https://plotly.com/dash
MIT License
21.19k stars 2.04k forks source link

dashtable with pagination: tooltips appear in wrong place #1848

Open HeinerTholen opened 2 years ago

HeinerTholen commented 2 years ago

Describe your context

dash                              2.0.0
dash-auth                         1.4.1
dash-colorscales                  0.0.4
dash-daq                          0.5.0
dash-renderer                     1.9.1

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

dash-table-bug
adlerberg0 commented 2 years ago

There is a pull request related to this issue in plotly/dash-table repo but it wasn't merged. Could it be copied to current repository? https://github.com/plotly/dash-table/pull/906

alexcjohnson commented 2 years ago

Looks like https://github.com/plotly/dash-table/pull/906 has some open items but should be relatively straightforward to bring it over here and finish it - if anyone would like to give it a shot we'd be happy to help get it finished 😄

tlinnet commented 2 years ago

I also see this problem. The many first items in page 1 is working. But when scrolling down, it gets more weird?

kenshima4 commented 1 year ago

Hi can I have a crack at finishing this?

sakshamgumber commented 2 days ago

is there issue still there to fix it