You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This seems similar to #606 but it's a bit different. Can be reproduced on the demo page when using Firefox (this error does not occur in Chromium). Just clicking on the field then clicking out of it gives the error ReferenceError: event is not defined. The field keeps the focused state after loosing focus.
window.event doesn't seem to fix the issue for me, but passing the event through from the calling functions does. Note, however, that you need to be using Firefox 48 or higher, as earlier versions don't have support for mouseEvent.relatedTarget - so it's not possible to tell where the focus is moving to in a blur event (without ugly workarounds using setTimeout).
pauln
added a commit
to pauln/ember-paper
that referenced
this issue
Jan 8, 2017
This seems similar to #606 but it's a bit different. Can be reproduced on the demo page when using Firefox (this error does not occur in Chromium). Just clicking on the field then clicking out of it gives the error
ReferenceError: event is not defined
. The field keeps the focused state after loosing focus.Seems like it is caused by this line https://github.com/miguelcobain/ember-paper/blob/7ba0c103ebd093792c60241000eae1f0df4fe29c/addon/components/paper-chips.js#L232.
The variable
event
seems to be global. Replacing it withwindow.event
seems to solve the issue.The text was updated successfully, but these errors were encountered: