Open naterush opened 1 year ago
I'm not able to replicate this anymore on Safari locally or on a deployed app, however, I just saw a user on Chrome running a streamlit app locally who had this issue.
I am unable to replicate it on Chrome.
I am able to replicate this consistently on FireFox 123.0.1
, using the streamlit app (https://mito-for-st-demo.streamlit.app/?utm_medium=oembed) hosted on the trymito.io website.
To replicate:
I can't replicate on Chrome Version 116.0.5845.179 (Official Build) (arm64) or Safari with the same steps, but I saw it occur to a user on Chrome Version 120.0.6099.62 today.
Even when I upgraded to Chrome Version 122.0.6261.112 (Official Build) (arm64) it is still occurring.
Feels like a race condition somewhere.
https://github.com/mito-ds/mito/assets/18709905/85e57e01-2f91-42e8-b4b3-501e8d724105
@aarondr77 most likely we have a log for opening fullscreen we should just turn off.
Ok, updating my thinking here: I don't think this is a sheet crashing bug. I think it's actually probably a focus handling issue with respect to fullscreen mode in browsers.
Unfortunately, I can't replicate it with the above instructions, so it's making it hard to dig in further.
On Safari, but not Chrome when you exit full screen mode (escape or clicking the toolbar button), the Mito sheet disappears from the app until you reload the page
https://github.com/mito-ds/monorepo/assets/18709905/cde7dd2e-9a92-4a6a-91da-53517cd3bd1c
EDIT: Opened an issue for this. Safari is <2% market share, so I think it's not worth worrying about.