mito-ds / mito

The mitosheet package, trymito.io, and other public Mito code.
https://trymito.io
Other
2.28k stars 154 forks source link

Fullscreen Doesn't Work on <iframed>'ed Streamlit Mitosheet #1317

Open DarkCTO opened 1 month ago

DarkCTO commented 1 month ago

Describe the bug Click on fullscreen button (top right corner) does nothing. Currently having 3 monitors, and naturally I would need the fullscreen button to fill mitosheet to the monitor it's residing on (same screen as the browser). Also tried the demo one on https://www.trymito.io/ and having same issue. I also use streamlit 1.36.0 if that's any help.

To Reproduce Click on Full screen button. May only affect multiple monitors.

Expected behavior Fill entire viewport.

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

Additional context Add any other context about the problem here. I haven't tested on single monitor setup.

DarkCTO commented 1 month ago

Tried on single monitor. I have to hit Fullscreen next to "Built with Streamlit" then it works. So this is the issue of me using