plotly / dash

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

[BUG] callback dataflow display flickers at certain sizes #2862

Closed gvwilson closed 1 month ago

gvwilson commented 1 month ago

Thank you so much for helping improve the quality of Dash!

We do our best to catch bugs during the release process, but we rely on your help to find the ones that slip through.

Describe your context Please provide us your environment, so we can easily reproduce the issue.

Describe the bug

Expected behavior

No flickering.

Screenshots

Movie attached

https://github.com/plotly/dash/assets/911566/36f8962e-1722-484b-ad46-764d5ce0f319

AnnMarieW commented 1 month ago

@gvwilson I tried this and can't duplicate the issue. Can you give any more details about how to reproduce?

gvwilson commented 1 month ago

@AnnMarieW it seems to depend on the exact size of the browser window. When I display the world bank app on my large monitor, I can't reproduce the problem. If I drag that tab to my Mac's display, the problem reoccurs. Unfortunately, if I then open Chrome developer tools to get the size of the display port, the problem goes away again. Settings...Display tells me it's an "Apple XDR Display (P3-1600 nits)", but that doesn't give me the vertical size. My code is in the dash-book-5 folder in https://github.com/gvwilson/dash-feederwatch if that helps.

AnnMarieW commented 1 month ago

Well, it works for me on all browser sizes. Have you tried a different browser? It works fine on Firefox for me as well. I'm using Linux so, that might be why I can't reproduce.

gvwilson commented 1 month ago

Cannot reproduce with Firefox 125.0.3 on the same computer and display. Resizing the Chrome window slightly makes the problem go away. Happy to have this closed as "cannot reproduce" or "there's a simple workaround".

Coding-with-Adam commented 1 month ago

Hi @gvwilson I couldn't reproduce this either. It might make sense to close as "cannot reproduce"

gvwilson commented 1 month ago

Cannot reproduce on other machines.