Dataframe toolbar download button does not work when Streamlit app is iframed cross-origin #8528
Open
3 of 4 tasks
Labels
feature:st.data_editor
feature:st.dataframe
priority:P2
status:confirmed
Bug has been confirmed by the Streamlit team
type:bug
Something isn't working
Checklist
Summary
When a Streamlit app is hosted in an iframe in a different origin than the parent frame, the download button in the dataframe toolbar silently fails with a console error.
This is arguably a bug in the
native-file-system-adapter
library used by this widget.It's a little surprising that this has very different behavior from
st.download_button
.Reproducible Code Example
Steps To Reproduce
Expected Behavior
The CSV downloads in some way (in the background, in a new tab, via a file picker).
Current Behavior
Nothing happens.
The following is printed in the console:
Is this a regression?
Debug info
Additional Information
No response
The text was updated successfully, but these errors were encountered: