Skip to content
This repository has been archived by the owner on Jun 3, 2024. It is now read-only.

dcc.Link or dcc.Location isn't firing callbacks for IE 11 #113

Closed
chriddyp opened this issue Nov 23, 2017 · 1 comment · Fixed by #140
Closed

dcc.Link or dcc.Location isn't firing callbacks for IE 11 #113

chriddyp opened this issue Nov 23, 2017 · 1 comment · Fixed by #140
Labels
dash-meta-good_first_issue dash-type-bug Something isn't working as intended

Comments

@chriddyp
Copy link
Member

image

originally reported in https://community.plot.ly/t/multi-page-dash-app-internet-explorer-issue/6206/3

@chriddyp chriddyp added dash-type-bug Something isn't working as intended dash-meta-good_first_issue labels Nov 23, 2017
@ned2
Copy link
Contributor

ned2 commented Dec 26, 2017

I believe the issue is that IE does not support the Event constructor, which dcc.Link uses to trigger a pushstate event. This in turn means that the dcc.Location listener will never pick it up.

This Stack Overflow post links to a MSDN page which includes a polyfill for CustomEvent as a workaround.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
dash-meta-good_first_issue dash-type-bug Something isn't working as intended
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants