How to turn off resize trigger?

I’m not sure if anyone has noticed but resizing the window often leads to streamlit re-running the script from the top. Does anyone know how to turn this off? A little bit digging shows that there is a div called 'resize triggers' being wrapped around all the other divs. How do you remove this?

Screenshot 2023-03-13 at 11.20.06 AM

Hey @mansidak,

Thank you for sharing this question.

Resizing the window shouldn’t cause your app to rerun – can you share a code snippet so we can reproduce this behavior?