Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Could not find 'tabBlazor.clickOutsideHandler.addEvent' ('tabBlazor' was undefined) #156

Open
duclm98 opened this issue Jun 15, 2024 · 0 comments

Comments

@duclm98
Copy link

duclm98 commented Jun 15, 2024

I encountered the following issue:

Microsoft.AspNetCore.Components.WebAssembly.Rendering.WebAssemblyRenderer[100]
Unhandled exception rendering component: Could not find 'tabBlazor.clickOutsideHandler.addEvent' ('tabBlazor' was undefined).
Error: Could not find 'tabBlazor.clickOutsideHandler.addEvent' ('tabBlazor' was undefined).
at http://localhost:5039/_framework/blazor.web.js:1:734
at Array.forEach ()
at l.findFunction (http://localhost:5039/_framework/blazor.web.js:1:702)
at b (http://localhost:5039/_framework/blazor.web.js:1:5445)
at http://localhost:5039/_framework/blazor.web.js:1:3238
at new Promise ()
at y.beginInvokeJSFromDotNet (http://localhost:5039/_framework/blazor.web.js:1:3201)
at Object.ri [as invokeJSJson] (http://localhost:5039/_framework/blazor.web.js:1:165152)
at http://localhost:5039/_framework/dotnet.runtime.8.0.6.cfhqwq2l7j.js:3:178364
at Tl (http://localhost:5039/_framework/dotnet.runtime.8.0.6.cfhqwq2l7j.js:3:179198)
Microsoft.JSInterop.JSException: Could not find 'tabBlazor.clickOutsideHandler.addEvent' ('tabBlazor' was undefined).
Error: Could not find 'tabBlazor.clickOutsideHandler.addEvent' ('tabBlazor' was undefined).
at http://localhost:5039/_framework/blazor.web.js:1:734
at Array.forEach ()
at l.findFunction (http://localhost:5039/_framework/blazor.web.js:1:702)
at b (http://localhost:5039/_framework/blazor.web.js:1:5445)
at http://localhost:5039/_framework/blazor.web.js:1:3238
at new Promise ()
at y.beginInvokeJSFromDotNet (http://localhost:5039/_framework/blazor.web.js:1:3201)
at Object.ri [as invokeJSJson] (http://localhost:5039/_framework/blazor.web.js:1:165152)
at http://localhost:5039/_framework/dotnet.runtime.8.0.6.cfhqwq2l7j.js:3:178364
at Tl (http://localhost:5039/_framework/dotnet.runtime.8.0.6.cfhqwq2l7j.js:3:179198)
at Microsoft.JSInterop.JSRuntime.d__16`1[[Microsoft.JSInterop.Infrastructure.IJSVoidResult, Microsoft.JSInterop, Version=8.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60]].MoveNext()
at Microsoft.JSInterop.JSRuntimeExtensions.InvokeVoidAsync(IJSRuntime jsRuntime, String identifier, Object[] args)
at TabBlazor.ClickOutside.AddClickOutsideHandler()
at Microsoft.AspNetCore.Components.ComponentBase.CallStateHasChangedOnAsyncCompletion(Task task)
at Microsoft.AspNetCore.Components.RenderTree.Renderer.GetErrorHandledTask(Task taskToHandle, ComponentState owningComponentState)

Can everyone help me fix it, thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant