github apexcharts/apexcharts.js v5.6.0
💎 Version 5.6.0

6 hours ago

Bug Fixes

Critical Fix: Tooltip and Chart Interactions Restored (#5168)

  • Fixed a critical regression where tooltips were not appearing and chart interactions were completely blocked
  • The <foreignObject> element, which contains the legend wrapper, was incorrectly positioned as the last child in the SVG DOM, causing it to overlay and block all mouse events on the chart
  • Restored the correct DOM ordering by ensuring <foreignObject> is always the first child element (at the back of the z-order), allowing chart interactions to work properly
  • This issue affected all chart types including column, scatter, heatmap, bar, and others
  • The regression was introduced in v5.5.0 when accessibility features were added

Comprehensive DOM Ordering Tests

  • Added extensive test coverage to prevent future regressions of DOM element ordering

If you experienced tooltip or interaction issues in v5.5.0/v5.5.1, this release fully resolves those problems. Simply upgrade to v5.6.0 - no code changes required on your end.

Don't miss a new apexcharts.js release

NewReleases is sending notifications on new releases.