streamlit-elements icon indicating copy to clipboard operation
streamlit-elements copied to clipboard

MUI elements, with event Listener consecutive activation crashes streamlit

Open hkhako opened this issue 2 years ago • 0 comments

I have one or more mui elements with an onmouseover, or onclick event handler. When they are being activated closely together time-wise, ie: the mouse swipe over several onmouseover objects, or repeatedly click a mui.typography with onclick listener, it throws error and crashes streamlit. It is possibly due to streamlit being reloading, and the targets are being regenerated. A global debounce mechanism for all mouse and touch events might be a solution.

hkhako avatar Oct 10 '23 22:10 hkhako