Multiselect height

Hy everyone,

I was wondering if it was possible to limit the height of the multiselect and make it scrollable? Currently I get every value on display, and it makes the multiselect box too big for my app (as it is in the sidebar, it takes half of the page)!

Thanks in advance

ps: here’s my code, even tough I am not sure it will be useful

liste_partis = candidats['Courant'].unique()
partis = st.sidebar.multiselect('Choix des courants politiques',liste_partis,liste_partis)