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!

Adnan

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!

2 Likes

Awesome! That worked!

Thank you so much!

1 Like