oskar-anderson / HedgehogDBD

ERD modeling tool for visualizing database diagrams
https://hedgehog-dbd.vercel.app/
MIT License
11 stars 1 forks source link

Chrome canvas flicker - WARNING: Too many active WebGL contexts. Oldest context will be lost. #10

Closed oskar-anderson closed 1 year ago

oskar-anderson commented 1 year ago

Description

Changing scenes at least 12 times will cause the main canvas element to start flickering when using Chrome (tested on v115). Console will log error: WARNING: Too many active WebGL contexts. Oldest context will be lost.

Steps to reproduce

  1. Load the application in Chrome
  2. Create a table
  3. Select table
  4. Click discard changes
  5. Repeat step 3. and 4. 11 times.
  6. Main canvas element will start flickering

Desired behavior

There should be no flickering.

oskar-anderson commented 1 year ago

This is no longer an issue since Pixi.js was replaced with React Flow.