fix(mail(js)): handle paste action from contextual menu

Fixes #5488
This commit is contained in:
Francis Lachapelle
2022-08-08 17:38:10 -04:00
parent 4e79a1e995
commit efe78c5179

View File

@@ -55,7 +55,7 @@
}
elem.on('keyup', $mdUtil.debounce(AutoGrowTextArea, 200));
elem.on('paste', AutoGrowTextArea);
elem.on('paste', $mdUtil.debounce(AutoGrowTextArea, 0));
var deregisterWatcher = scope.$watch(function() {
return elem[0].value;