Uncaught TypeError: Cannot read properties of null (reading 'x')
Describe the bug TypeError exception occurs when we navigate back while observing a blazor component.
To Reproduce Steps to reproduce the behavior:
- Go to a page with a blazor component that is being observed.
- Navigate back using JSRuntime.InvokeVoidAsync("history.go", "-1");
- See error
Expected behavior No exception when navigating back
Screenshots
Uncaught TypeError TypeError: Cannot read properties of null (reading 'x')
at t (C:\Users\######\.nuget\packages\blazorintersectionobserver\3.1.0\staticwebassets\blazor-intersection-observer.min.js:1:255)
at
Desktop (please complete the following information):
- OS: [Windows]
- Browser [Chrome/Edge/Firefox]
- Version [110.0.5481.177/110.0.1587.50/110.0]
Additional context I can't reproduce this issue on my machine, but it happens every time on my colleague's machine. We'll provide an update on this when we have more details.
Hello. I have the same issue. I have used https://github.com/stavroskasidis/BlazorDialog . And every time when I click to open "Modal Dialog" the same TypeError exception occurs.