Sidebar sliders clipping

Hi there!

I’m new to the Streamlit community (and coding in general), but I’ve absolutely fallen in love with Streamlit. So first of all, wonderful job!

I had a question about using sidebar sliders. I have an app with 4 sidebar sliders with values in various ranges. The problem is that the values on the slider when moved to either extreme are clipped, as shown in this image:

Screenshot from 2020-11-29 19-31-25

I tried using the html suggestion from Change width of sidebar, but the sidebar ended up looking really wonky and I don’t know enough about this to try and fix it.

Any help would be much appreciated!


Good morning Adnan!

I guess you have the sliders under a beta_expander, am I right? If so, it is a known bug which hopefully will be fixed in a coming update :slight_smile: Meanwhile, if you need to keep the expander have a look at this suggested temporary workaround.

Hope it helps!


Awesome! That worked!

Thank you so much!

1 Like