We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cf25de3 commit 8ad15ebCopy full SHA for 8ad15eb
src/utils/domUtils.ts
@@ -5,5 +5,5 @@ export function stopPropagation(event: React.SyntheticEvent) {
5
}
6
7
export function scrollIntoView(element: Maybe<Element>) {
8
- element?.scrollIntoView({ inline: 'nearest', block: 'nearest' });
+ element?.scrollIntoView({ inline: 'nearest', block: 'nearest', behavior: 'smooth' });
9
0 commit comments