Returning to the right tab after clicking button

Commenting on this issue for posterity, since I also ran into the same “bug.”

Setting the tab contents with an @st.fragment modified function worked for me as a solution, but it seems to me like this ideally shouldn’t happen at all in the first place.

1 Like