Hi everyone,
I’m using a Streamlit app that has three tabs, each containing buttons. When I click a button without using the on_click function, my application stays on the same tab. However, when I implement the on_click function and click a button, the app automatically switches back to the first tab, even though the on_click function does nothing.
Could someone help me understand why this is happening? I’m struggling to figure it out.
Thanks in advance!