folkehelseinstituttet / Fhi.Frontend.Demo

MIT License
2 stars 1 forks source link

Tree view component: `maximum call stack size exceeded` #563

Closed dafn closed 2 months ago

dafn commented 2 months ago

Problem: When loading a dataset with up to 2800 categories the tree view component crashes with a maximum call stack size exceeded Error.

Expected result: The tree view component will render all 2800 categories as e.g checkboxes without any errors.

example file that triggers the error: alle_atckoder_som_items.json

Image of the Error: bilde

dafn commented 2 months ago

Bug is confirmed when selecting a checkbox

Bug is not confirmed when loading the data Bug is not confirmed when using selection