-
Notifications
You must be signed in to change notification settings - Fork 4k
Closed
Labels
feature:st.metricRelated to the `st.metric` elementRelated to the `st.metric` elementpriority:P2Medium-high priority - fix within one monthMedium-high priority - fix within one monthstatus:confirmedBug has been confirmed by the Streamlit teamBug has been confirmed by the Streamlit teamtype:bugSomething isn't working as expectedSomething isn't working as expected
Description
Checklist
- I have searched the existing issues for similar issues.
- I added a very descriptive title to this issue.
- I have provided sufficient information below to help reproduce this issue.
Summary
Reported by @marduk2 on our forum. The help tooltip for st.metric has changed positions in v1.18.0 and appears under the metric label instead of to its right.
Reproducible Code Example
import streamlit as st
st.title("'Help' tooltips in st.metric render in a weird position")
st.metric(
label="Example metric",
help="Something doesn't feel right...",
value=150.59,
delta="Very high",
)Steps To Reproduce
- Run the app
Expected Behavior
Current Behavior
Is this a regression?
- Yes, this used to work in a previous version.
Debug info
- Streamlit version: 1.18.0
- Python version: 3.9
- Operating System: macOS
- Browser: Chrome
- Virtual environment: NA
Additional Information
No response
Are you willing to submit a PR?
- Yes, I am willing to submit a PR!
cmayoracurzio and jrieke
Metadata
Metadata
Assignees
Labels
feature:st.metricRelated to the `st.metric` elementRelated to the `st.metric` elementpriority:P2Medium-high priority - fix within one monthMedium-high priority - fix within one monthstatus:confirmedBug has been confirmed by the Streamlit teamBug has been confirmed by the Streamlit teamtype:bugSomething isn't working as expectedSomething isn't working as expected

