3 ms·
Did you mean worrydream or my personal website? If you mean mine, sorry for the scroll-jacking! It's been a few years since I've touched the input handling code
by dougk16 10y ago
Did you mean worrydream or my personal website? If you mean mine, sorry for the scroll-jacking! It's been a few years since I've touched the input handling code and that kind of stuff tends to rust really fast. Might have to go back in there.
- mdrzn 10y agoTalking about worrydream.com
- wlesieutre 10y agoYeah, I'm in Chrome on Windows and a full spin of the scroll wheel moves it down about 5 pixels. Given how much thought he puts into user experience in his projects, that's really weird. I have to scroll with click and drag and sort of "throw" the page upward as if I'm using a touchscreen.
- rpeden 10y agoThat is really weird. I'm using Chrome on Windows too, and my scroll wheel works normally on the site. I wonder what is causing the different behaviors we're seeing.
- wlesieutre 10y agoIt works sorta-fine in Firefox. I say "sorta" because it overrides the browser's smooth scrolling to move in jerky steps on every click of the wheel, but at least it moves useably fast. To hazard a guess, the testing environment was a Mac with trackpad scrolling. Each scrolling step on that would be small enough that "teleport to next scroll position" looks smooth, and breaking the built-in smooth scrolling wouldn't be noticeable. I do wish people would stop trying to reimplement scrolling and just let the OS/browser do it... FWIW I'm in Chrome 54 on Windows 7.
- worldsayshi 10y agoIn Swedish there is an expression "The smith's horse and the shoemakers children are worst shod" that comes to mind. It's kind of when fashion designers wears an ill fitting t-shirt and jeans I guess.
- d-sc 10y agoOn my iPhone it works perfectly.