You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/vs/workbench/contrib/notebook/browser/view/notebookCellList.ts
-1Lines changed: 0 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -527,7 +527,6 @@ export class NotebookCellList extends WorkbenchList<CellViewModel> implements ID
527
527
}
528
528
}
529
529
530
-
// TODO@rebornix TEST & Fix potential bugs
531
530
// List items have real dynamic heights, which means after we set `scrollTop` based on the `elementTop(index)`, the element at `index` might still be removed from the view once all relayouting tasks are done.
532
531
// For example, we scroll item 10 into the view upwards, in the first round, items 7, 8, 9, 10 are all in the viewport. Then item 7 and 8 resize themselves to be larger and finally item 10 is removed from the view.
533
532
// To ensure that item 10 is always there, we need to scroll item 10 to the top edge of the viewport.
0 commit comments