fix: Widget message input resize issue (#11896)

This commit is contained in:
Sivin Varghese
2025-07-09 09:23:20 +05:30
committed by GitHub
parent 5ebe8c71ec
commit 3e5ca9bca9

View File

@@ -69,7 +69,7 @@ export default {
}, },
}, },
watch: { watch: {
value() { modelValue() {
this.resizeTextarea(); this.resizeTextarea();
// 🚨 watch triggers every time the value is changed, we cannot set this to focus then // 🚨 watch triggers every time the value is changed, we cannot set this to focus then
// when this runs, it sets the cursor to the end of the body, ignoring the signature // when this runs, it sets the cursor to the end of the body, ignoring the signature