Failed to execute 'observe' on 'MutationObserver'
See original GitHub issueWhen a dropdown is rendered through an ember island component (https://github.com/mitchlloyd/ember-islands), the dropdown will cause the error:
Failed to execute ‘observe’ on ‘MutationObserver’: parameter 1 is not of type ‘Node’.
at i.startObservingDomMutations (vendor.js:29)
at i.open (vendor.js:29)
at invokeWithOnError (vendor.js:5)
at s.flush (vendor.js:5)
at l.flush (vendor.js:5)
at p.end (vendor.js:5)
at p.run (vendor.js:6)
at u (vendor.js:11)
at HTMLDocument.<anonymous> (vendor.js:32)
at HTMLDocument.dispatch (vendor.js:4)
For some reason, this.dropdownElement seems not to be available in startObservingDomMutations().
If renderInPlace is set true, then the error does not happen.
Maybe someone had a similar issue?
Issue Analytics
- State:
- Created 6 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
'observe' on 'MutationObserver': parameter 1 is not of type 'Node'
It is possible/likely that your code is executing prior to the nodes you desire to find existing in the DOM. If so, you...
Read more >Failed to execute 'observe' on 'MutationObserver': parameter 1 ...
Found a bug that appears on HP ILO4 logins. This is the KVM system on HP based servers. Here is a copy paste...
Read more >Failed to execute 'observe' on 'MutationObserver': parameter 1 ...
jQuery : Uncaught TypeError: Failed to execute ' observe' on 'MutationObserver ': parameter 1 is not of type 'Node' [ Beautify Your Computer ......
Read more >MutationObserver.observe() - Web APIs - MDN Web Docs
The MutationObserver method observe() configures the MutationObserver callback to begin receiving notifications of changes to the DOM that ...
Read more >observe-exceptions-expected.txt - Google Git
PASS observer.observe() threw exception TypeError: Failed to execute 'observe' on 'MutationObserver': 1 argument required, but only 0 present.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
This issue happens in ember-twiddle as well, any ideas? (except
rendeInPlace=true
)Curios as well how to fix this issue