-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Closed
Labels
feature:st.spinnerstatus:confirmedBug has been confirmed by the Streamlit teamBug has been confirmed by the Streamlit teamtype:bugSomething isn't workingSomething isn't working
Description
Checklist
- I have searched the existing issues for similar issues.
- I added a very descriptive title to this issue.
- I have provided sufficient information below to help reproduce this issue.
Summary
I updated to Streamlit 1.24.0 and now my app is completely rerendering on every change. Something is just completely nuking the react elements and causing them to rerender from scratch. I have created two gifs to show you exactly what I mean. This is clearly not desired behavior I think..
I don't have time to make a reproducible example for you but I think the gifs make it pretty clear what's happening. I will just stick to 1.23.1 for now. It's particularly bad for the map element since it's zoom, center and it's loaded tiles get reset.
Good in 1.23.1 | Bad in 1.24 |
---|---|
Expected Behavior
Don't re-render everything from scratch
Current Behavior
It re-renders from scratch
Debug info
- Streamlit version:
1.24.0
- Python version:
3.9.10
- Operating System:
Linux Mint 21.1
- Browser:
Mozilla Firefox 114.0.2
- Virtual environment: see dependency list ⬇️
grpcio-tools==1.54.2
polars==0.18.3
typer==0.9.0
shapely==2.0.1
geopandas==0.13.2
geopolars==0.1.0a4
streamlit==1.24.0
akshanshkmr, lukasmasuch and robingie
Metadata
Metadata
Assignees
Labels
feature:st.spinnerstatus:confirmedBug has been confirmed by the Streamlit teamBug has been confirmed by the Streamlit teamtype:bugSomething isn't workingSomething isn't working