mirror of
https://github.com/Microsoft/vscode
synced 2024-08-27 04:49:35 +00:00
Check whether cell is _entirely_ in the view, not partially (#151003)
Fix #123828
This commit is contained in:
parent
b9b2862341
commit
445d4aad1b
|
@ -1241,7 +1241,7 @@ export class NotebookCellList extends WorkbenchList<CellViewModel> implements ID
|
|||
|
||||
if (ignoreIfInsideViewport
|
||||
&& elementTop >= scrollTop
|
||||
&& elementTop < wrapperBottom) {
|
||||
&& elementBottom < wrapperBottom) {
|
||||
|
||||
if (revealPosition === CellRevealPosition.Center
|
||||
&& elementBottom > wrapperBottom
|
||||
|
|
Loading…
Reference in a new issue