adopted-ember-addons / adopted-ember-addons/ember-paper
growTextarea may be called against destroyed component
オープン
- 主要言語
- JavaScript
- スター
- 879
- フォーク
- 327
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
Using `1.0.0-beta.2`, I had the following error reported to sentry:
> Cannot read property 'addClass' of undefined
From the `growTextarea` method.
The code looks like this:
```javascript
let inputElement = this.$('input, textarea');
inputElement.addClass('md-no-flex').attr('rows', 1);
```
We probably just miss a check against 'isDestroying' and 'isDestroyed' before trying to apply `growTextarea`.
コントリビューションガイド
評価
この issue はまだ評価されていません。