adopted-ember-addons / adopted-ember-addons/ember-paper

You must use set() to the the mousedown property

Ouverte
#1,047 1 commentaire 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
JavaScript
Étoiles
879
Forks
327
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

Playing locally with tabs I get this error sometimes:

```
"Error: Assertion Failed: You must use set() to set the `mousedown` property (of ) to `true`.
at new EmberError (http://localhost:4200/assets/vendor.js:13637:31)
at assert (http://localhost:4200/assets/vendor.js:12501:23)
at Class.SETTER_FUNCTION [as mousedown] (http://localhost:4200/assets/vendor.js:39547:56)
at Class.handleMousedown (http://localhost:4200/assets/vendor.js:104713:22)
at Backburner._run (http://localhost:4200/assets/vendor.js:28155:35)
at Backburner._join (http://localhost:4200/assets/vendor.js:28133:29)
at Backburner.join (http://localhost:4200/assets/vendor.js:27916:25)
at join (http://localhost:4200/assets/vendor.js:16514:28)
at HTMLElement. (http://localhost:4200/assets/vendor.js:16615:19)"
```

This is triggered by the RippleMixin which sets and read the `mousedown` property without using `.set()`.

Not sure why this is not ALWAYS triggered.

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.