We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
option_menu
st.progress
The minimum working code snippet:
import time import streamlit as st from streamlit_option_menu import option_menu with st.sidebar: option = option_menu("Menu Title", ["Option 1"]) progress = st.progress(0) while True: progress.progress(0) time.sleep(0.001)
Run it, and press Shift+Esc to see the memory consumption. You will see the memory that the tab consumes grows rapidly.
Shift+Esc
If I comment out the option_menu line (replace it with pass), the memory consumption will not grow anymore.
pass
streamlit 1.26.0 streamlit-option-menu 0.3.6 Microsoft Edge 117.0.2045.31 Windows 11
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The minimum working code snippet:
Run it, and press
Shift+Esc
to see the memory consumption. You will see the memory that the tab consumes grows rapidly.If I comment out the
option_menu
line (replace it withpass
), the memory consumption will not grow anymore.The text was updated successfully, but these errors were encountered: