|
|
@@ -2820,8 +2820,10 @@ from desktop.views import _ko
|
|
|
self.query.subscribe(function (newValue, oldValue) {
|
|
|
let inputTextArea = $('.user-input')[0]
|
|
|
if (inputTextArea) {
|
|
|
- console.log(new Date() + " old:" + oldValue +" -> new:" +newValue )
|
|
|
- self.autoResize(null, { target: inputTextArea } );
|
|
|
+ console.log(new Date() + " change old:" + oldValue +" -> new:" +newValue )
|
|
|
+ ko.tasks.schedule(function() {
|
|
|
+ self.autoResize(null, { target: inputTextArea });
|
|
|
+ });
|
|
|
}
|
|
|
});
|
|
|
self.availableTypes().forEach(function (type) {
|