Skip to content

beforeunload is triggered on download a chart #20191

@cr1stimuresan

Description

@cr1stimuresan

Hi,
I have a chart with download button and a form on the same page. The trigger of beforeunload on download is causing unnecessary prompts for leaving the page

Expected behaviour

beforeunload event should not be triggered by exporting a chart

Actual behaviour

beforeunload event is triggered by exporting a chart

Live demo with steps to reproduce

https://jsfiddle.net/o0cx86qL/6/

Product version

Highcharts 11.2.0

Affected browser(s)

Chrome

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

Status
Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions