streamlit icon indicating copy to clipboard operation
streamlit copied to clipboard

st.balloons() is not working in streamlit 1.3.0

Open RohanKaran opened this issue 4 years ago • 3 comments

Summary

st.balloons() was working in 1.2.0 version, but not in 1.3.0. (The st.success text is executing all right on both versions)

Code snippet:

with st.spinner("Analyzing..."):
        pass
st.success("Done!")
st.balloons()

Is this a regression?

That is, did this use to work the way you expected in the past? yes

Debug info

  • Streamlit version: 1.3.0
  • Python version: 3.9

RohanKaran avatar Dec 22 '21 17:12 RohanKaran

Thanks for reporting this @RohanKaran!

This is known, and we have two proposed fixes out (#4199 and #4204) and are deciding between the two. We'll have a fix out ASAP.

vdonato avatar Dec 22 '21 17:12 vdonato

st.success is working alright though st.balloons I tried and nothing displays.

Sospeter-Wainaina avatar Dec 26 '21 10:12 Sospeter-Wainaina

Hi @Sospeter-Wainaina and @RohanKaran ! I have just released 1.3.1 that supports st.balloons again. Thanks for bringing the issue to our attention!

kmcgrady avatar Dec 28 '21 16:12 kmcgrady