apexcharts / vue3-apexcharts

📊 Vue-3 component for ApexCharts
MIT License
314 stars 35 forks source link

Switching a route within an event handler causes error #33

Closed Saare closed 3 months ago

Saare commented 3 years ago

Switching a route inside an apexchart event callback causes an error in the console. image (I've been using the solution suggested in #20 to bind the event)

<apexchart
   ...
   @markerClick="click"
></apexchart>
const click = () => {
   router.push('/data');
};

Complete code and example: https://stackblitz.com/edit/vue3-apex-router-bug?devtoolsheight=33&file=index.html

github-actions[bot] commented 3 months ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.