Browse Source

fix(nc-gui): rich text, long text expand btn issue

pull/7426/head
Ramesh Mane 11 months ago
parent
commit
b320191fb8
  1. 3
      packages/nc-gui/components/cell/TextArea.vue

3
packages/nc-gui/components/cell/TextArea.vue

@ -86,7 +86,7 @@ onClickOutside(inputWrapperRef, (e) => {
})
const onTextClick = () => {
if (!props.virtual) return
if (!props.virtual || readOnly?.value) return
isVisible.value = true
editEnabled.value = true
@ -223,6 +223,7 @@ watch(editEnabled, () => {
:style="{
'word-break': 'break-word',
'white-space': 'pre-line',
'max-height': `${25 * (rowHeight || 1)}px`,
}"
@click="onTextClick"
/>

Loading…
Cancel
Save