fix(ui): keep autocomplete text widget at max-height on node resize in Vue mode

This commit is contained in:
Will Miao
2026-06-08 10:49:04 +08:00
parent 568daa351e
commit 00177a06d0
4 changed files with 149 additions and 16 deletions

View File

@@ -7,6 +7,7 @@
:spellcheck="spellcheck ?? false"
:class="['text-input', { 'vue-dom-mode': isVueDomMode, 'lm-wheel-scrollable': isVueDomMode }]"
:style="maxHeight && isVueDomMode ? { maxHeight: maxHeight + 'px' } : undefined"
data-capture-wheel="true"
@input="onInput"
@wheel="onWheel"
/>