-
Notifications
You must be signed in to change notification settings - Fork 4.2k
st.data_editor jitters on mobile/narrow layout (embedded doc example) #6900
Copy link
Copy link
Closed
Labels
feature:st.data_editorRelated to the `st.data_editor` widgetRelated to the `st.data_editor` widgetpriority: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
When viewing the docs on mobile, the embedded example of st.data_editor jitters with an interior scrollbar rapidly appearing and disappearing.
Reproducible Code Example
No response
Steps To Reproduce
(On Chrome on a Google Pixel 5)
- Go to https://docs.streamlit.io/library/api-reference/data/st.data_editor
- Look at the second example (first one with dynamic rows)
- Data editor jitters as in gif above
Expected Behavior
It should have a steady display.
Current Behavior
It jitters as shown in the recording.
Is this a regression?
- Yes, this used to work in a previous version.
Debug info
- Streamlit version: (currently nightly, I think)
- Python version: 3.9
- Operating System: Android 13 (latest at time of posting)
- Browser: Chrome 114.0.5735.130 (latest at time of posting) also DuckDuckGo
- Virtual environment: n/a
Additional Information
I was not able to reproduce the jitter in Chrome or Firefox in Windows (with simulated mobile dimensions).
I was able to reproduce the bug in DuckDuckGo on the same Google Pixel 5 device. I could also reproduce the issue in Chrome on a Galaxy Note 8.
Are you willing to submit a PR?
- Yes, I am willing to submit a PR!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
feature:st.data_editorRelated to the `st.data_editor` widgetRelated to the `st.data_editor` widgetpriority: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
