Some browsers allow negative scrollX/scrollY, and allow the same for the Visual Viewport’s pageTop/pageLeft. This may conflict with positioning the Visual Viewport box, so there’s a few fixes one can apply
scrollX
scrollY
pageTop
pageLeft
Positioning method to use
position: absolute;
position: fixed;