chore: update scroll logic
This commit is contained in:
@@ -698,9 +698,6 @@ const ToolbarPlugin = () => {
|
||||
}
|
||||
const reducedMotion = window.matchMedia('(prefers-reduced-motion: reduce)').matches
|
||||
domElement.scrollIntoView({ behavior: reducedMotion ? 'auto' : 'smooth', block: 'nearest' })
|
||||
if (isMobile) {
|
||||
editor.focus()
|
||||
}
|
||||
})
|
||||
}}
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user