fix: don't jump text to end when out of viewport in safari (#6416)
This commit is contained in:
parent
d2b8f4d2f8
commit
d61b3cf83d
@ -297,6 +297,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()) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user