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
When mentionsInput is initialized it adds the style background transparent. Found that when you destroy the mentionsInput the style remains on the element. I would expect when destroy is called that everything that was added would be removed. Currently just manually removing the background color when calling destroy. Possible solution to add to the destroy method is to set the background for the input to empty string to prevent unwanted css applied.
The text was updated successfully, but these errors were encountered:
This fixes it for me if i update the js file
MentionsInput.prototype.destroy = function() {
this.input.areacomplete("destroy");
this.input.off("." + namespace).attr('name', this.hidden.attr('name')); this.input.css('backgroundColor', '');
return this.container.replaceWith(this.input);
};
When mentionsInput is initialized it adds the style background transparent. Found that when you destroy the mentionsInput the style remains on the element. I would expect when destroy is called that everything that was added would be removed. Currently just manually removing the background color when calling destroy. Possible solution to add to the destroy method is to set the background for the input to empty string to prevent unwanted css applied.
The text was updated successfully, but these errors were encountered: