Open MartinSoka opened 3 months ago
as the exception doesn't have any visible side effects we suppress it for now in js like this:
if (window.mudScrollManagerExtended) { let scrollToMiddleOriginal = window.mudScrollManagerExtended.scrollToMiddle; window.mudScrollManagerExtended.scrollToMiddle = (parentId, childId) => { try { scrollToMiddleOriginal(parentId, childId); } catch { } } }
You can prepare a PR to use try catch if you have a time 🙂
I'm using a custom search field because of an existing issue in the library with Searchbox and RenderFragment https://github.com/CodeBeamOrg/CodeBeam.MudBlazor.Extensions/issues/257. Reproduction code below, tested in https://trymudextensions.pages.dev. The error is pretty random but when i filter elements and there is only 1 left which is displayed i get the following error (try to type e.g. Be in the example):
My code: