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

Uncaught TypeError: Cannot read properties of null (reading 'x') #49

Open
hanj73 opened this issue Feb 27, 2023 · 3 comments · May be fixed by #55
Open

Uncaught TypeError: Cannot read properties of null (reading 'x') #49

hanj73 opened this issue Feb 27, 2023 · 3 comments · May be fixed by #55

Comments

@hanj73
Copy link

hanj73 commented Feb 27, 2023

Describe the bug
TypeError exception occurs when we navigate back while observing a blazor component.

To Reproduce
Steps to reproduce the behavior:

  1. Go to a page with a blazor component that is being observed.
  2. Navigate back using JSRuntime.InvokeVoidAsync("history.go", "-1");
  3. See error

Expected behavior
No exception when navigating back

Screenshots
image
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 (C:\Users\######\.nuget\packages\blazorintersectionobserver\3.1.0\staticwebassets\blazor-intersection-observer.min.js:1:528)
at (C:\Users\######\.nuget\packages\blazorintersectionobserver\3.1.0\staticwebassets\blazor-intersection-observer.min.js:1:545)
at (C:\Users\######\.nuget\packages\blazorintersectionobserver\3.1.0\staticwebassets\blazor-intersection-observer.min.js:1:210)

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.

@harry-flw
Copy link

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.

@harry-flw
Copy link

Any news?

@alexh-compyl
Copy link

I'm also running into this issue suddenly - I'm doing some custom JS work with some drag and drop behavior and this just now showed up. Assuming this is a dead issue?

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

Successfully merging a pull request may close this issue.

3 participants