ソースを参照

Merge remote-tracking branch 'origin/master' into aakansha-baseline

Aakansha Doshi 2 年 前
コミット
7f1ef7562c
1 ファイル変更1 行追加0 行削除
  1. 1 0
      src/element/textWysiwyg.tsx

+ 1 - 0
src/element/textWysiwyg.tsx

@@ -311,6 +311,7 @@ export const textWysiwyg = ({
         filter: "var(--theme-filter)",
         maxHeight: `${editorMaxHeight}px`,
       });
+      editable.scrollTop = 0;
       // For some reason updating font attribute doesn't set font family
       // hence updating font family explicitly for test environment
       if (isTestEnv()) {