You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I believe there's a race condition that causes HxTooltip to throw an exception intermittently.
See the following stack trace:
[2023-11-28T14:29:23.368Z] Error: Microsoft.JSInterop.JSException: bootstrap is not defined
ReferenceError: bootstrap is not defined
at Module.initialize (https://app.heyhack.com/_content/Havit.Blazor.Components.Web.Bootstrap/HxTooltip.js?v=2.0.0%2Ba8df7d1f865fa0872d8fdb75e7d97838d252495f:9:2)
at https://app.heyhack.com/_framework/blazor.server.js:1:3244
at new Promise (<anonymous>)
at y.beginInvokeJSFromDotNet (https://app.heyhack.com/_framework/blazor.server.js:1:3201)
at Yt._invokeClientMethod (https://app.heyhack.com/_framework/blazor.server.js:1:60713)
at Yt._processIncomingData (https://app.heyhack.com/_framework/blazor.server.js:1:58188)
at Yt.connection.onreceive (https://app.heyhack.com/_framework/blazor.server.js:1:51829)
at s.onmessage (https://app.heyhack.com/_framework/blazor.server.js:1:79974)
at Microsoft.JSInterop.JSRuntime.InvokeAsync[TValue](Int64 targetInstanceId, String identifier, Object[] args)
at Microsoft.JSInterop.JSObjectReferenceExtensions.InvokeVoidAsync(IJSObjectReference jsObjectReference, String identifier, Object[] args)
at Havit.Blazor.Components.Web.Bootstrap.Internal.HxTooltipInternalBase.OnAfterRenderAsync(Boolean firstRender)
at Microsoft.AspNetCore.Components.RenderTree.Renderer.GetErrorHandledTask(Task taskToHandle, ComponentState owningComponentState)
I have made a fix that prevents this exception from being thrown. I will submit a pull request shortly.
The text was updated successfully, but these errors were encountered:
@sebastianbk Can you please provide me with a repro project/instructions, where I can see the error?
It seems you are missing the Bootstrap JavaScript.
Do you have it included in you host-page? (App.razor, _Host.cshtml, index.html or similar).
See https://havit.blazor.eu/#javascript
I believe there's a race condition that causes HxTooltip to throw an exception intermittently.
See the following stack trace:
I have made a fix that prevents this exception from being thrown. I will submit a pull request shortly.
The text was updated successfully, but these errors were encountered: