mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-20 07:09:53 +01:00
optimize scroll view from bottom.
This commit is contained in:
@@ -682,7 +682,7 @@ export class NotebookCellList extends WorkbenchList<CellViewModel> implements ID
|
||||
const endElementHeight = this.view.elementHeight(endIndex);
|
||||
|
||||
if (endElementTop >= wrapperBottom) {
|
||||
return this._revealInternal(startIndex, false, CellRevealPosition.Top);
|
||||
return this._revealInternal(endIndex, false, CellRevealPosition.Bottom);
|
||||
}
|
||||
|
||||
if (endElementTop < wrapperBottom) {
|
||||
|
||||
Reference in New Issue
Block a user