Hi,
I experience a bug in st.dataframe on the latest streamlit version (1.40.0). When I click fullscreen, the table does not actually go full screen, and the rows being shown cuts off at the beginning (and you cant even scroll up). I also see that problem in the table used in illustration/example documentation of st.dataframe, https://doc-dataframe.streamlit.app/?utm_medium=oembed&
This problem doesn’t exist if I downgrade to version 1.39.0
edsaac
November 22, 2024, 1:42pm
2
This issue was fixed in a recent patch, shipped with version 1.40.1
opened 01:32PM - 07 Nov 24 UTC
closed 05:34PM - 08 Nov 24 UTC
type:bug
feature:st.dataframe
status:confirmed
priority:P2
### Checklist
- [X] I have searched the [existing issues](https://github.com/st… reamlit/streamlit/issues) for similar issues.
- [X] I added a very descriptive title to this issue.
- [X] I have provided sufficient information below to help reproduce this issue.
### Summary
making a pandas dataframe and printing it to screen with st.write(df) have a bug when you make the df fullscreen, then the top bar where you can choose "download csv, search and fullscreen" dont appear + i starts on a randomline between 20-350ish, and you cant scrool to the top rows.
### Reproducible Code Example
```Python
df = pd.read_excel('somefile.xlsx') # just a random df with 100 row data
st.write(df)
```
### Steps To Reproduce
load data into a pandas df
write the df to the screen.
make the df full screen
then the error appear
### Expected Behavior
like it does in 1.39.0
When you make a df full screen you will still want the options to go to the top row and download the data, search and make it normal size again.
### Current Behavior
no error msg. the ui just looks wrong

### Is this a regression?
- [X] Yes, this used to work in a previous version.
### Debug info
- Streamlit version: 1.40.0
- Python version: 3.11.1
- Operating System: windows 10
- Browser: edge and chrome
### Additional Information
_No response_
1 Like
system
Closed
November 25, 2024, 10:21pm
4
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.