Has anyone else noticed that streamlit appears to have a few strange and subtle bugs? I’ve noticed a couple oddities:
- Sometimes streamlit reloads unexpectedly and all multi-select widgets are reset to their default values. However, based on what code runs, the values returned by the widgets still seem to be the old values for the first such run of the app. Then the next time the user modifies a widget’s value the default values of the multi-select widgets end up being used instead.
- Sometimes an entire streamlit app crashes unexpectedly and the page needs to be refreshed. This can happen either when entering input or while waiting for code to rerun. It’s probably not related, but I’ve become wary of scrolling up and down the page and interacting with already-plotted alt-air charts while waiting for code to run because it sometimes appears to induce these crashes.
I would try to create a minimal working example of these, but I’m not really sure how to reproduce these bugs – they only happen some of the time when I run my app.
Has anyone else experienced similar issues? They seem to occur infrequently enough that they are more of an annoyance than a problem for my purposes, but they are still frustrating to have to deal with.
It may be unrelated, but one of the issues mentioned in this question sounds a bit similar. Avoid rerunning for intermediate values for number_input, slider etc