Skip to content

Chart doesnt initialise on iOS iPhone SE (2016)  #8414

@supmanyu

Description

@supmanyu

Expected Behavior

Chart instance should initialise with the provided options

Current Behavior

Initialisation fails with "ReferenceError: Can't find variable: ResizeObserver". Error is not thrown on Desktop(iOS/Safari) or even other iOS Mobile devices. Image below is from Safari mobile debugger tool.
image

Possible Solution

Possible recent removal of ResizeObserver in #8009 has a reference somewhere in the code?

Steps to Reproduce

Context

Chart doesnt initiate specifically on iPhone SE (2016), on an iPhone SE 2020 it works fine. possible legacy device issue?

Environment

  • Chart.js version: v3.0.0-Beta10
  • Browser name and version: iOS 14 Safari Latest Stable Version

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