FloTeu / op-tcg-leaderboard

Project related to the one piece trading card game
MIT License
0 stars 0 forks source link

Bug: Java Script not loading after some page switches #24

Closed FloTeu closed 2 weeks ago

FloTeu commented 3 weeks ago

After some page switches, the js code of the streamlit elements library is not loading anymore. Unfortunatly, all streamlit elements views are not rendered correctly once the bug appears.

FloTeu commented 3 weeks ago

Could break the bug down to the table feature of streamlit elements. The exact issue is not yet found. Edit: Unfortunatly, it also occurs with a single nivo plot

FloTeu commented 2 weeks ago

Seems like the bug is not occurring if the dev console is opened in the browser

FloTeu commented 2 weeks ago

lid2ldata() function is a problem. Maybe streamlit cache causing the problem if its called within a mui element initialization. Edit: This function was the main cause for the bug

FloTeu commented 2 weeks ago

Seems to be fixed with latest main commit