Fixes the unwanted shift of the viewport when an element outside the vieport receives focus
and the browser shifts the vieport to put the focused element into the viewport.
It sets the scrollLeft and/or the scrollTop of the target element back to the initial values
every time the scroll event is triggered on the document root element.
Fixes the unwanted shift of the viewport when an element outside the vieport receives focus and the browser shifts the vieport to put the focused element into the viewport.
It sets the scrollLeft and/or the scrollTop of the target element back to the initial values every time the scroll event is triggered on the document root element.