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

Assertion Failed: calling set on destroyed object in FocusableMixin#handleMouseLeave #1161

Open
boydkr opened this issue Aug 26, 2020 · 1 comment

Comments

@boydkr
Copy link
Contributor

boydkr commented Aug 26, 2020

This only happens in Safari, as far as I can tell.

[Error] Error: Assertion Failed: calling set on destroyed object: <firestorm@component:paper-button::ember5053>.hover = false
    assert (vendor.js:52288)
    set (vendor.js:31232)
    handleMouseLeave (vendor.js:199445)
    superWrapper (vendor.js:47031)
    superWrapper

handleMouseLeave refers to https://github.com/miguelcobain/ember-paper/blob/master/addon/mixins/focusable-mixin.js#L85

The PaperButton in question is of the form

<PaperButton data-test-button-next @label="Next" @href={{href-to "<my-app-route>"}} />

so nothing fancy.

This error happens after the transition to the new route occurs, and the user moves the mouse.

@boydkr
Copy link
Contributor Author

boydkr commented Aug 26, 2020

Ember paper version 1.0.0-beta.31
Ember source 3.16.6

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

No branches or pull requests

1 participant