I have multiple statblocks, all ordered in subfolders, themselves having subfolders.
When opening specific subfolders (detailed below), they dropdown open as expected.
However, the first element is duplicated and appears twice : when they're opened or closed, both arrows animate to signify they're being open at the same time.
Most of these are empty subfolders for now, but it has been shown to work with ones that aren't empty ; in this case, the entire content of the subfolder is duplicated in he UI as well. Once open, the folders cannot be interacted with anymore, regardless of if they've been closed or open. Their content is still interactible and lead to the same expected item management window.
More importantly, when the parent subfolder gets closed again, the dropdown closes, except for the duplicate, staying out and visible. Spamming the dropdown to open and close it will generate even more duplicates.
Worse, it's contagious : under specific circumstances, the bugged subfolders will duplicate on their own.
This happens when a bugged subfolder is duplicating ; all the duplicated subfolders hidden down under in the scrollable sidebar will duplicate as well.
This doesn't seem to be consistent however, the only way I managed to make it happen was
to open a bugged subfolder down the sidebar, scroll up untill I can't see it, then another visible bugged subfolder.
When I scrolled back down, the other subfolder was duplicated even more.
I tried moving a statblock from a corrupted folder into a newly made one. The folder interface freezes when I do so.
When I reload the page, the corrupted folder is now duplicated three times instead of two, and opening the previously made folder will instead open this third duplicate, the moved statblock inside.
I'm really confused on what is exactly happening, but I'm wondering if this is because statblock folders ended up corrupted in some way.
In any case, this completely freezes my progression when it comes to this project and I can't work on it anymore until this is fixed, so any help would be welcome.
I forgot to set my world to public before, this should be done now.
I found where the bug came from !
When I tried to delete the corrupted folder, it was deleted as expected, but the bug remained when I made it again.
When I tried to rename it however, the bug stopped ! It wasn't duplicated anymore when I reloaded the page.
However, different folders than before got corrupted and did the UI duplication glitch. I tried renaming more and after a few more, the bug completely disappeared.
My guess is that this bug is related to subfolders having similar names. I had around 30 folders with the same name, and when I lowered it down to around 25, the bug completely disappeared and corrupted folders where no more.
I renamed the subfolders as a temporary fix, but I'm pretty sure someone else might stumble on this bug eventually still.