Open
Description
I've recently upgraded to ember 3.9 and I get a ton of this deprecation warning in the console.
DEPRECATION: Using this.$() in a component has been deprecated, consider using this.element [deprecation id: ember-views.curly-components.jquery-element]
In my case the error came from using semantic ui dropdown component. The error originates from the semantic base mixin. (mixins/base.js)
// /assets/addon-tree-output/semantic-ui-ember/mixins/base.js
getSemanticScope() {
if (Ember.isPresent(this.get('onElement'))) {
return this.$(this.get('onElement'));
}
return this.$(); //<-- Error
},
Metadata
Metadata
Assignees
Labels
No labels