Welcome to the Blazor feedback portal. We’re happy you’re here! If you have feedback on how to improve the Blazor, we’d love to hear it!>
Thanks for joining our community and helping improve Syncfusion products!
I'm trying to get to the bottom of errors that my application is logging and that I'm seeing on debug in the console. One of them is:
Microsoft.JSInterop.JSException: 'this.element.querySelector is not a function
TypeError: this.element.querySelector is not a function
at t.render (https://localhost:7167/_content/Syncfusion.Blazor.Core/scripts/syncfusion-blazor.min.js?v=28361:19:197603)
at t.initialize (https://localhost:7167/_content/Syncfusion.Blazor.Core/scripts/syncfusion-blazor.min.js?v=28361:19:196577)
at new t (https://localhost:7167/_content/Syncfusion.Blazor.Core/scripts/syncfusion-blazor.min.js?v=28361:19:196412)
at Object.initialize (https://localhost:7167/_content/Syncfusion.Blazor.Core/scripts/syncfusion-blazor.min.js?v=28361:19:216845)
at https://localhost:7167/_framework/blazor.web.js?version=28361:1:3244
at new Promise (
) at y.beginInvokeJSFromDotNet (https://localhost:7167/_framework/blazor.web.js?version=28361:1:3201)
at fn._invokeClientMethod (https://localhost:7167/_framework/blazor.web.js?version=28361:1:62869)
at fn._processIncomingData (https://localhost:7167/_framework/blazor.web.js?version=28361:1:60344)
at connection.onreceive (https://localhost:7167/_framework/blazor.web.js?version=28361:1:53985)'
This seems to be coming from the dialog syncfusion blazor dll according to the stack trace:
If you try using the sfDialog control in a Blazor web app on Server mode and enable breaking on this exception type, you'll get this detail: