Hi,
I’ve found a reproducible bug in the React SVAR File Manager.
When typing in the search bar, the file manager crashes if the very first character typed returns zero matches.
You can reproduce it easily using the official demo:
https://docs.svar.dev/react/filemanager/samples/#/custom-styles/willow
Steps to reproduce:
Open the demo above.
Click on the search bar.
Type "5" (or any character that yields no results right away).
Expected behavior:
The file manager should simply show an empty result set.
Actual behavior:
The entire component crashes immediately upon typing the first character.
This seems to happen only when the first search input produces zero matches. If there were matches before or if the input progressively filters to zero, it works fine.
Let me know if you need a stack trace or additional details — I can provide them.