|
|
@ -469,12 +469,14 @@ const isReadOnlyVirtualCell = (column: ColumnType) => { |
|
|
|
watch([expandedFormScrollWrapper, isLoading], () => { |
|
|
|
watch([expandedFormScrollWrapper, isLoading], () => { |
|
|
|
if (isMobileMode.value) return |
|
|
|
if (isMobileMode.value) return |
|
|
|
|
|
|
|
|
|
|
|
if (expandedFormScrollWrapper.value && !isLoading.value) { |
|
|
|
const expandedFormScrollWrapperEl = expandedFormScrollWrapper.value |
|
|
|
const height = expandedFormScrollWrapper.value.scrollHeight |
|
|
|
|
|
|
|
expandedFormScrollWrapper.value.scrollTop = height |
|
|
|
if (expandedFormScrollWrapperEl && !isLoading.value) { |
|
|
|
|
|
|
|
const height = expandedFormScrollWrapperEl.scrollHeight |
|
|
|
|
|
|
|
expandedFormScrollWrapperEl.scrollTop = height |
|
|
|
|
|
|
|
|
|
|
|
setTimeout(() => { |
|
|
|
setTimeout(() => { |
|
|
|
expandedFormScrollWrapper.value.scrollTop = 0 |
|
|
|
expandedFormScrollWrapperEl.scrollTop = 0 |
|
|
|
}, 125) |
|
|
|
}, 125) |
|
|
|
} |
|
|
|
} |
|
|
|
}) |
|
|
|
}) |
|
|
|