修复画布输入框回归测试
Project CI / Repository checks (pull_request) Successful in 1m3s
Project CI / Frontend tests (pull_request) Failing after 2m1s
Project CI / Backend tests (pull_request) Successful in 3m31s
Project CI / Native shell tests (pull_request) Successful in 13m20s

迁移图片编辑器测试至 Lexical 文本输入契约

避免输入框尺寸更新占用画布定位动画帧
This commit is contained in:
2026-08-07 22:27:01 +08:00
parent f5fa2fd6f8
commit b548b3618e
8 changed files with 83 additions and 72 deletions
+1 -1
View File
@@ -345,7 +345,7 @@ export function AutoGrowTextArea({
}, [overlayScrollbarsInstance]);
const scheduleResize = useCallback(() => {
window.requestAnimationFrame(resizeHost);
resizeHost();
}, [resizeHost]);
useLayoutEffect(() => {