mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-29 17:23:25 -05:00
remove smooth behavior from scroll for code cells (#20905)
This commit is contained in:
@@ -193,7 +193,7 @@ export class NotebookFindDecorations implements IDisposable {
|
||||
// expand the cell if it's collapsed and scroll into view
|
||||
match.cell.isCollapsed = false;
|
||||
if (matchEditor) {
|
||||
matchEditor.getContainer().scrollIntoView({ behavior: 'smooth', block: 'nearest' });
|
||||
matchEditor.getContainer().scrollIntoView({ block: 'nearest' });
|
||||
matchEditor.getControl().revealRangeInCenterIfOutsideViewport(match, ScrollType.Smooth);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user