News for hackers. Stuff that matters.
Re:Dragscroll – a tiny JS library which enables scrolling vi... by nfoz on Sunday March 22, 2015 @05:37PM (#9248359)
Why shouldn't this be up to the mouse driver? I used to just use middle-click for this.
Re:Dragscroll – a tiny JS library which enables scrolling vi... by adrusi on Sunday March 22, 2015 @09:47PM (#9249064)
Because sometimes there are scrollable areas on the page that you want to pan, not scroll, but there's no panning built into HTML. Yes, mouse drivers should make it possible to pan any scrollable area, but most don't, and websites have to be usable with shitty drivers.