mirror of
https://github.com/nocodb/nocodb.git
synced 2026-05-02 13:56:37 +00:00
fix: long text edit focus fix: ai longtext editor
This commit is contained in:
@@ -61,6 +61,8 @@ const isAiEdited = useVModel(props, 'isAiEdited', emits)
|
||||
|
||||
const isExpandedFormOpen = inject(IsExpandedFormOpenInj, ref(false))!
|
||||
|
||||
const textAreaRef = ref<HTMLTextAreaElement>()
|
||||
|
||||
const position = ref<
|
||||
| {
|
||||
top: number
|
||||
@@ -351,8 +353,6 @@ watch(
|
||||
},
|
||||
)
|
||||
|
||||
const textAreaRef = ref<HTMLTextAreaElement>()
|
||||
|
||||
watch(textAreaRef, (el) => {
|
||||
if (el && !isExpandedFormOpen.value && !isEditColumn.value && !isForm.value) {
|
||||
el.focus()
|
||||
|
||||
Reference in New Issue
Block a user