Still has the “show time”.
It is just like the frame(streamlit) will render a default template, and then just run the Python code to change the default template to hide the stSidebarNav.
And the other methods also have this kind of feature——need a short “show time” to show the default UI logic, and then change to user-defined UI .
Nope, sorry – I don’t know a way to make the css instantly applied – you can see the same thing with the sections here https://st-pages-sections.streamlit.app/ – there’s a slight delay before the indentation happens.