Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

beforeunload is triggered on download a chart #20191

Closed
cr1stimuresan opened this issue Nov 24, 2023 · 1 comment · Fixed by #20266
Closed

beforeunload is triggered on download a chart #20191

cr1stimuresan opened this issue Nov 24, 2023 · 1 comment · Fixed by #20266

Comments

@cr1stimuresan
Copy link

cr1stimuresan commented Nov 24, 2023

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

@highsoft-bot highsoft-bot added this to To do in Development-Flow via automation Nov 24, 2023
@bm64
Copy link
Member

bm64 commented Nov 27, 2023

Hi @cr1stimuresan and thanks for reporting the issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

Successfully merging a pull request may close this issue.

4 participants