Streamlit Navbar

Simply, it will run the selected app/page.

As per my understanding of your question,
if you are on page1, upon clicking page2 it will forget page1(You have to use session state)
pls, ask me if I misunderstood your question.