mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-17 02:51:36 -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
|
// expand the cell if it's collapsed and scroll into view
|
||||||
match.cell.isCollapsed = false;
|
match.cell.isCollapsed = false;
|
||||||
if (matchEditor) {
|
if (matchEditor) {
|
||||||
matchEditor.getContainer().scrollIntoView({ behavior: 'smooth', block: 'nearest' });
|
matchEditor.getContainer().scrollIntoView({ block: 'nearest' });
|
||||||
matchEditor.getControl().revealRangeInCenterIfOutsideViewport(match, ScrollType.Smooth);
|
matchEditor.getControl().revealRangeInCenterIfOutsideViewport(match, ScrollType.Smooth);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user