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

Lost WebGl Context - "Cannot read canvas on undefined" #832

Open
Geovanny2023 opened this issue Dec 18, 2023 · 1 comment
Open

Lost WebGl Context - "Cannot read canvas on undefined" #832

Geovanny2023 opened this issue Dec 18, 2023 · 1 comment
Assignees
Labels

Comments

@Geovanny2023
Copy link

User Description

Type what you were trying to do here...

Error Title

TypeError

Error Message

Cannot read properties of undefined (reading 'canvas')

Stack

TypeError: Cannot read properties of undefined (reading 'canvas')
at lt.resizeCanvas (https://www.keeptrack.space/app/js/main.41a3572822fe0794e242.js:1512:111124)
at https://www.keeptrack.space/app/js/main.41a3572822fe0794e242.js:1512:105737

thkruz added a commit that referenced this issue Dec 18, 2023
thkruz added a commit that referenced this issue Dec 18, 2023
@thkruz
Copy link
Owner

thkruz commented Dec 18, 2023

Looks like you lost the canvas during a screen resize. Added a fix that will reinitialize webgl if that happens. Can you provide any information about your setup?

Desktop or mobile?
What browser?

@thkruz thkruz changed the title TypeError in Global Error Trapper Lost WebGl Context - "Cannot read canvas on undefined" Dec 20, 2023
@thkruz thkruz self-assigned this Dec 20, 2023
@thkruz thkruz added the Bug label Dec 20, 2023
@thkruz thkruz added this to the Stable Orbits (Version 8.3) milestone Dec 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants