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