👩💻 Join our community of thousands of amazing developers!
Last time, we noted some problems with autoscroll based on the distance from the mouse to the window. An alternate design is to use the speed with which the mouse exited the window to establish the autoscroll speed. This no longer penalizes people with small screens or windows near the edge of the screen. The post Autoscrolling on drag, part 4: Dynamic autoscroll based on escape velocity appeared first on The Old New Thing....