The function "use_container_width" of the button (st.button) does not work when the parameter "help" is used

Summary

The function “use_container_width” of the button (st.button) does not work when the parameter “help” is used.

Obs.: using streamlit version 1.18.0

c1, c2, c3 = st.columns([1, 1, 1])
        
with c1:
    st.button('button 1', use_container_width=True)
with c2:
    st.button('button 2', use_container_width=True)
with c3:
    st.button('button 3', use_container_width=True, help = 'example')

1 Like

Thanks for sharing this! I was able to reproduce the behavior and have created a GitHub Issue here.

2 Likes

Hi, the real issue is here. The other one was not linked properly.