Skip to content

Subsequent render() events are called outside angular. #360

@wjaspers

Description

@wjaspers

Describe the bug

The initial chart render is run inside angular, while subsequent calls to chart.render() are run outside angular.
This can cause problems with async updates in components.

Expected behavior

All calls to render() are run inside angular, unless [runOutsideAngular]="true"

Demo

Stackblitz

Steps required to recreate the problem in the demo:

console.log(NgZone.isInAngularZone())

Setup used

  • NodeJS version .
  • Angular version 16.1
  • Highcharts 11.1
  • Highcharts-Angular >3.1.2
  • TypeScript >3.1
    etc.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions