Hello everyone,
I’m using the latest version of Streamlit and I’m struggling with the tooltip position over my slider…that’s my code
with col1:
popup_text_1 = "slider_tooltip"
with stylable_container(
key="custom_tooltip",
css_styles=f"""
div[data-testid="tooltipHoverTarget"]::after{{
content:"{popup_text_1}";
}}
div[data-testid="tooltipHoverTarget"]>svg{{
display:none;
}}
""",
):
cc_interactions = st.slider(
label="slider_name",
min_value=1000,
max_value=100000,
value=100000,
step=1000,
help=popup_text_1,
)
I tried several solutions but none of them solved.
Many Thanks