Function to download csv not open pop to start

Locally the app is running ok, when click on download button, open a pop up window to start. But after deploy to streamlit sharing it stopped. I check browse config and pop up is enabled.
Look:
https://share.streamlit.io/silviolima07/app-indeed/main/app.py

Hi @Silvio_Lima -

I think this is a function of Streamlit sharing being sandboxed by an iframe. Your code works locally, because you computer does the pop up to your local browser. In the case of Streamlit sharing, the pop up is to an iframe (in the Streamlit sharing server), which your local browser doesn’t access.

I think the solution at this time would be to not do a pop-up, but rather just have it as a download link.

Best,
Randy

I tested open the link do download in another window and after this I could download all csv files.
None pop up came.