File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -465,7 +465,7 @@ private async Task ScrollIntoViewIfNeededAsync()
465465 // force-scroll if page's javascript is disabled.
466466 if (!pageJavascriptEnabled) {
467467 element.scrollIntoView({block: 'center', inline: 'center', behavior: 'instant'});
468- return false ;
468+ return null ;
469469 }
470470 const visibleRatio = await new Promise(resolve => {
471471 const observer = new IntersectionObserver(entries => {
@@ -476,7 +476,7 @@ private async Task ScrollIntoViewIfNeededAsync()
476476 });
477477 if (visibleRatio !== 1.0)
478478 element.scrollIntoView({block: 'center', inline: 'center', behavior: 'instant'});
479- return false ;
479+ return null ;
480480 }" , this , Page . JavascriptEnabled ) . ConfigureAwait ( false ) ;
481481
482482 if ( errorMessage != null )
You can’t perform that action at this time.
0 commit comments