microsoft / fluentui-blazor

Microsoft Fluent UI Blazor components library. For use with ASP.NET Core Blazor applications
https://www.fluentui-blazor.net
MIT License
3.74k stars 361 forks source link

Error in demo FluentTabs page in Dynamic section "Could not find 'fluentOverflowResized'" #2338

Closed ZnowuJa closed 2 months ago

ZnowuJa commented 3 months ago

Hi,

In documentation FluentTabs page in section with dynamic there is an error when you try to delete one of tabs. Full error message:

Could not find 'fluentOverflowResized' ('fluentOverflowResized' was undefined). Error: Could not find 'fluentOverflowResized' ('fluentOverflowResized' was undefined). at https://www.fluentui-blazor.net/_framework/blazor.webassembly.js:1:368 at Array.forEach () at l.findFunction (https://www.fluentui-blazor.net/_framework/blazor.webassembly.js:1:336) at w (https://www.fluentui-blazor.net/_framework/blazor.webassembly.js:1:5079) at https://www.fluentui-blazor.net/_framework/blazor.webassembly.js:1:2872 at new Promise () at b.beginInvokeJSFromDotNet (https://www.fluentui-blazor.net/_framework/blazor.webassembly.js:1:2835) at Object.vn [as invokeJSJson] (https://www.fluentui-blazor.net/_framework/blazor.webassembly.js:1:58849) at https://www.fluentui-blazor.net/_framework/dotnet.runtime.8.0.6.scyrrn9hx4.js:3:178364 at Tl (https://www.fluentui-blazor.net/_framework/dotnet.runtime.8.0.6.scyrrn9hx4.js:3:179198)

Regards

michelmoorlag commented 3 months ago

I have the same issue when I upgrade my existing application from 4.8.1 to 4.9.0. So with 4.8.1 there is no issue and after upgrade to 4.9.0 this issue seems to appear.

vnbaaij commented 2 months ago

Yes, confirmed this is a bug because of some internal renaming/refactoring. Will be fixed in 4.9.1

michelmoorlag commented 2 months ago

Yes, confirmed this is a bug because of some internal renaming/refactoring. Will be fixed in 4.9.1

I can confirm that 4.9.1. fixed the issue for me. But with 4.9.1 e new error appeared: Unhandled exception rendering component: Could not find 'fluentOverflowInitialize' ('fluentOverflowInitialize' was undefined). I guess releated to https://github.com/microsoft/fluentui-blazor/issues/2366