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
constscrollerHeight=container.clientHeightconstscrollerY=scroller.getY()consttargetHegiht=target.clientHeightconsttargetY=scroller.getTopOf(target)if(targetY+targetHegiht>scrollerY+scrollerHeight||targetY<scrollerY){// the target is not fully within the vertical scroll barscroller.center(target,1000)}else{scroller.intoView(target,1000)}
Here is the code I would like to simplify
The text was updated successfully, but these errors were encountered: