Skip to content

chart is not rendering on old iPad Mini OS 12.5.7 #1012

@ilankas

Description

@ilankas

Checklist

  • [ x ] I updated the card to the latest version available
  • [ ] I cleared the cache of my browser
  • [ x ] I verified that I'm really running the lastest version in my browser console
  • [ ] I checked if there is another issue opened with the same problem

Describe the bug
SyntaxError: The string did not match the expected pattern.
matches ([native code]::)
handleEvent (node_modules/@material/web/list/internal/listitem/list-item.ts:122:21)
2025-11-06 16:43:22.969 ERROR (MainThread) [frontend.js.legacy.202511050] Uncaught error from WebKit 605.1.15 on iOS 12.5.7
SyntaxError: The string did not match the expected pattern.
matches ([native code]::)
handleEvent (node_modules/@material/web/list/internal/listitem/list-item.ts:122:21)

Version of the card
Version: v2.2.3

To Reproduce
This is the configuration I used:

type: custom:apexcharts-card
graph_span: 5d
header:
  title: 1 Charger Energy (UT)
  show: true
series:
  - entity: sensor.1_energy_ut_daily
    name: Total
    type: column
    color: "#385966"
    float_precision: 2
    group_by:
      duration: 1d
      func: max
    show:
      datalabels: true
  - entity: sensor.1_energy_grid_ut_daily
    type: line
    name: Grid
    color: "#FF7F50"
    float_precision: 2
    group_by:
      duration: 1d
      func: max
    show:
      datalabels: true

Screenshots
Image

Expected behavior
Expecting chart is rendering with no errors

Desktop (please complete the following information):

  • Browser:
  • Version:

Smartphone (please complete the following information):

  • Device: iPad Mini
  • OS: iOS 12.5.7
  • Browser: Home Assistant Companion
  • Version: 2023.12.1 (2023.508)

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions