miguelcobain / ember-paper

The Ember approach to Material Design.

Home Page:http://miguelcobain.github.io/ember-paper

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

boydkr opened this issue · comments

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.

Ember paper version 1.0.0-beta.31
Ember source 3.16.6