Skip to content

Commit

Permalink
Add missing return
Browse files Browse the repository at this point in the history
  • Loading branch information
david-szabo97 committed May 5, 2021
1 parent 691419e commit 782544a
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,8 @@ export function useScrollIntoView( clientId ) {
scrollingElement.scrollHeight > scrollingElement.clientHeight
) {
scrollContainer = ownerDocument.defaultView;
} else {
return;
}
}

Expand Down

0 comments on commit 782544a

Please sign in to comment.