CodeBeam.MudBlazor.Extensions
CodeBeam.MudBlazor.Extensions copied to clipboard
MudSelectExtended with JSException.
Title: Style Issues and JavaScript Errors with MudSelectExtended Component
Body:
Description
I am encountering an issue with the MudSelectExtended component in my Blazor application. The component’s styling appears incorrect, and it throws a JavaScript exception after a single selection.
Code
UI
Exception
blazor.web.js:1 [2024-04-13T13:20:03.972Z] Error: Microsoft.JSInterop.JSException: Could not find 'mudScrollManagerExtended.scrollToMiddle' ('mudScrollManagerExtended' was undefined).
Error: Could not find 'mudScrollManagerExtended.scrollToMiddle' ('mudScrollManagerExtended' was undefined).
at https://localhost:7266/_framework/blazor.web.js:1:734
at Array.forEach (
It look like you didn't install MudExtensions packages properly. Please look at Readme for installation instructions. Need to add script and css files.
看起来您没有正确安装 MudExtensions 软件包。有关安装说明,请查看自述文件。需要添加脚本和css文件。
thanks, i will try it
I also had this issue in a project of mine recently. I'm not sure why, but the script from the Codebeam package wasn't being copied in with the other packages to the _content correctly. Couldn't figure out why but had to move on so just manually stuffed the MudExtensions.min.css in my client project's wwwroot and it resolved it.
.Net 8 webassembly