-
Notifications
You must be signed in to change notification settings - Fork 4.2k
UI element appearing unexpectedly since v1.55.0 #14249
Copy link
Copy link
Closed
Labels
area:frontendRelated to frontend aspectsRelated to frontend aspectsfeature:cacheRelated to `st.cache_data` and `st.cache_resource`Related to `st.cache_data` and `st.cache_resource`feature:st.tabsRelated to the `st.tabs` containerRelated to the `st.tabs` containerpriority:P2Medium-high priority - fix within one monthMedium-high priority - fix within one monthstatus:confirmedBug has been confirmed by the Streamlit teamBug has been confirmed by the Streamlit teamtype:bugSomething isn't working as expectedSomething isn't working as expectedtype:regressionThis bug is a regression from previous behaviorThis bug is a regression from previous behavior
Metadata
Metadata
Assignees
Labels
area:frontendRelated to frontend aspectsRelated to frontend aspectsfeature:cacheRelated to `st.cache_data` and `st.cache_resource`Related to `st.cache_data` and `st.cache_resource`feature:st.tabsRelated to the `st.tabs` containerRelated to the `st.tabs` containerpriority:P2Medium-high priority - fix within one monthMedium-high priority - fix within one monthstatus:confirmedBug has been confirmed by the Streamlit teamBug has been confirmed by the Streamlit teamtype:bugSomething isn't working as expectedSomething isn't working as expectedtype:regressionThis bug is a regression from previous behaviorThis bug is a regression from previous behavior
Checklist
Summary
Hi,
Since upgrading to v1.55.0, I’ve noticed that some UI elements are appearing unexpectedly. This behavior seems to occur when a cached function is executed between the declaration of a tab and its content usage.
Here is a minimal reproducible example:
Reproducible Code Example
Steps To Reproduce
Expected Behavior
The element "- S1.2" should remain hidden.
Current Behavior
The element "- S1.2" is displayed, even though it should not be visible in this context.
Is this a regression?
Debug info
Additional Information
No response