Skip to content

OffscreenCanvas charts in Grid Component Columns do not recover after VDOM purge #9107

@tobiu

Description

@tobiu

When using Neo.grid.Container with Neo.grid.column.Component containing OffscreenCanvas based components (like sparklines), navigating away from the grid (causing a VDOM purge of the inactive card) and then back results in the charts not rendering.

The OffscreenCanvas component has logic to "heal" itself by re-requesting the canvas node when its mounted state changes from false to true. It is suspected that this mounted state change is not being properly propagated to components within grid component columns.

Investigation Areas:

  • src/component/Canvas.mjs
  • src/grid/Container.mjs
  • src/grid/Body.mjs
  • src/grid/Row.mjs
  • src/grid/column/Component.mjs
  • src/grid/column/Sparkline.mjs

Metadata

Metadata

Assignees

Labels

aibugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions