Skip to content

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

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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