In my testing, IE10 stops just below 1,534,000 pixels. The limit includes the height of the viewport in the scrollable area, so the actual scrollTop is the limit minus the height of the element.
If you set the CSS style -ms-scroll-limit-y-max, it will clamp the maximum allowed value. But in my case, I accidentally stumbled upon this number.
source share