Browse Source

fix(nc-gui): long text modal transform issue on close modal

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

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

@ -84,11 +84,6 @@ watch(isVisible, () => {
setTimeout(() => {
inputRef.value?.focus()
}, 100)
} else {
const modalContent = document.querySelector('.nc-long-text-expanded-modal .ant-modal-content') as HTMLElement
if (modalContent) {
modalContent.style.transform = 'translate(-50%, -50%)'
}
}
})

Loading…
Cancel
Save