`st.dataframe` horizontal scroll bar not working · Issue #14837 · streamlit/streamlit · GitHub
Skip to content

st.dataframe horizontal scroll bar not working #14837

@ghilesmeddour

Description

@ghilesmeddour

In some cases, the dataframe's horizontal scroll bar doesn't work. Here's a minimal example:

Open in Streamlit Cloud

import pandas as pd
import streamlit as st

df = pd.DataFrame(
    {"c": [10, 10]},
    index=[
        "Lorem ipsum dolor",
        "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore.",
    ],
)

c1, _ = st.columns(2)
c1.dataframe(df, width="content")
Image Image

Debug info

  • Streamlit version: 1.56.0
  • Python version: 3.14.3
  • Operating System: Windows 11
  • Browser: Chrome

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature:st.dataframeRelated to the `st.dataframe` elementpriority:P3Medium prioritystatus:confirmedBug has been confirmed by the Streamlit teamtype:bugSomething isn't working as expected

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions