question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

IE10/IE11: Object doesn't support this action

See original GitHub issue

I’m getting a

Object doesn’t support this action

on

mounted: () => document.dispatchEvent(new Event("x-app-rendered")),

To Reproduce Steps to reproduce the behavior:

Use defaults; add to project; run in IE10/IE11

Expected behavior A clear and concise description of what you expected to happen.

No error on console / bugsnag

Additional context Package version: 1.1.6 Vue version: X.X.X Vue CLI version: X.X.X

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
SolarLinercommented, Aug 15, 2019

Well, you could always add a check to see if it’s pre-rendering (I believe prerender-spa injects a property into window), but that would have been more source code manipulation than I’d be comfortable with without switching to AST transforms anyway; actually I haven’t thought about that before. Since it’s done the way it is now, and possibly there could be other uses to an event like this, I’m gonna leave it as is.

I’m merging the PR and will work towards getting a minor version bump out, thanks for the issue!

1reaction
SolarLinercommented, Aug 13, 2019

Man, sorry for the bad language, but fuck IE. D:

The culprit seems to be the Event constructor, so it seems that a simple polyfill should be good to fix that. For now a workaround is to set useRenderEvent to false and to delete the line.

Read more comments on GitHub >

github_iconTop Results From Across the Web

TypeError: Object doesn't support this action in IE 11
This is working fine in google chrome but getting error in internet explorer at below mentioned line in my code. Can anyone suggest...
Read more >
JavaScript String endsWith() Method - Fixing error "Object ...
In this article, we will see how we can fix the “Object doesn't support property or method 'endsWith'” error which was due to...
Read more >
I have a problem with charts when i try to see them in IE10, IE11
I have a problem with charts when i try to see them in IE10, IE11. Object doesn't support this action. var data =...
Read more >
IE 11 ActiveX "TypeError: object doesn't support property
IE 11 ActiveX "TypeError: object doesn't support property or method". We develop an activex control and use it in a webpage.
Read more >
SharePoint 2010 web part: D3 library error “Object doesn't ...
Script445 : object doesn't support this action ... <meta http-equiv="X-UA-Compatible" content="IE=8; IE=9; IE=10; IE=11" />.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found