How to disable clear cache shortcut

Hi everyone,

I’ve developed a Streamlit app where users usually copy data from a table cell using ‘Cmd+C’ or ‘Ctrl+C’ shortcut and paste it in a text input widget, in order to have details information about the data point selected.

Everything worked fine on Streamlit v0.61.0.
Now on Streamlit v0.74.0 issue is that when users used ‘Cmd+C’ or ‘Ctrl+C’ shortcut, it triggers the Streamlit clear cache shortcut. It seems that on v0.74.0 Streamlit is not able to see a difference between ‘Cmd+C’ and solo ‘C’ shortcut.

Is there any known solution for that issue ?
If not is there any way to disable the ‘C’ shortcut to clear cache ?

Thanks for your help.

Hi @doublemojo, welcome to the Streamlit community!

This is a known regression that was fixed in 0.74.1. If you upgrade your Streamlit version, it should be resolved.


Thank you @randyzwitch, upgrading Streamlit version solved the issue.