things seem to function fine apart from the reported error.
may be a promise did not have a catch
environment:
blazor server app net 7.0
invoking menu from javascript via a reference to the component object.
passing clientX and clientY from javascript to c# component.
when opening context menu, chrome devtools reports following error: Uncaught (in promise) undefined testpage:1 setInterval (async)
e.offsetLeft.e.clientWidth.window.innerWidth.e.style.left @ blazorContextMenu.min.js:1 (anonymous) @ blazorContextMenu.min.js:1 Promise.then (async)
d @ blazorContextMenu.min.js:1 c.ManualShow @ blazorContextMenu.min.js:1 (anonymous) @ blazor.server.js:1 beginInvokeJSFromDotNet @ blazor.server.js:1 _invokeClientMethod @ blazor.server.js:1 _processIncomingData @ blazor.server.js:1 Ft.connection.onreceive @ blazor.server.js:1 i.onmessage
things seem to function fine apart from the reported error.
may be a promise did not have a catch
environment: blazor server app net 7.0 invoking menu from javascript via a reference to the component object. passing clientX and clientY from javascript to c# component.