Skip to content

Error: Element is not detectable by this strategy #81

@alexjlockwood

Description

@alexjlockwood

This may not be a bug in the library... might be an issue on my part.

I've gotten an error report from a user with the below trace. I tried looking at the source code but wasn't certain about when the error actually occurs. The user and I are both using the latest version of Chrome 59 and yet I'm unable to reproduce the issue myself.

Is there any particular reason why this error would be thrown and are there any obvious ways that it can be avoided?

vendor.d62c677178de6bb28515.bundle.js:8 ERROR Error: Element is not
detectable by this strategy.
    at Object.e [as addListener] (vendor.d62c677178de6bb28515.bundle.js:331)
    at vendor.d62c677178de6bb28515.bundle.js:331
    at vendor.d62c677178de6bb28515.bundle.js:331
    at r (vendor.d62c677178de6bb28515.bundle.js:331)
    at HTMLObjectElement.s (vendor.d62c677178de6bb28515.bundle.js:331)
    at HTMLObjectElement.o [as __zone_symbol___onload]
(polyfills.941f119dea8a6d6529f8.bundle.js:8)
    at t.invokeTask (polyfills.941f119dea8a6d6529f8.bundle.js:36)
    at Object.onInvokeTask (vendor.d62c677178de6bb28515.bundle.js:153)
    at t.invokeTask (polyfills.941f119dea8a6d6529f8.bundle.js:36)
    at r.runTask (polyfills.941f119dea8a6d6529f8.bundle.js:36)
v @ vendor.d62c677178de6bb28515.bundle.js:8

It seems like the crash is happening on this line of code, which is being called as a result of a call I am making to erd.listenTo(element, callbackFn) here. The element I am trying to listen to is here.

(IDK if any of that info is helpful, but just thought I would be as detailed as I could).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions