a tool for shared writing and social publishing

wait for timeout before scrolling into view to handle keyboard popup

+2 -2
+2 -2
components/Blocks/TextBlock/index.tsx
··· 420 420 useEditorEffect((view) => { 421 421 if (isMobile) return; 422 422 if (!view.hasFocus()) return; 423 - requestAnimationFrame(() => { 423 + setTimeout(() => { 424 424 if (!view.hasFocus()) return; 425 425 if (previousFocused === props.entityID) return; 426 426 previousFocused = props.entityID; ··· 455 455 }); 456 456 } 457 457 } 458 - }); 458 + }, 800); 459 459 }); 460 460 useEditorEffect( 461 461 (view) => {