Automatically Scroll The Window When The User Approaches The Viewport Edge In JavaScript

added by JavaScript Kicks
6/14/2018 10:30:23 AM


CAUTION: This is primarily a "note to self" for future Ben. This represents a part of DOM interaction that I don't have a solid mental model for. As such, my confidence level here is not stellar. The other day, I had to a fix a bug in InVision that related to dragging DOM (Document Object Model) elements up and down in the document.