Open this page in the API Guide

SubCanvasViewContainer.restoreScroll Method

Restores the scroll position of the subcanvas and its controls.