Add a download button inside expander

Hello,

I am trying to add a Download Button inside an expander. However, when I click on the download button it refreshes the page. Is there a way to prevent this behavior?

Thanks in advance.
Kasun

1 Like

In general, any widget interaction (like a download button) reruns the app. But, widget state (like the fact that the expander has been expanded) shouldn’t be lost. Is there some specific issue that the page refreshing is causing?

1 Like