News for hackers. Stuff that matters.
Re:Ask HN: What are the best personal project websites you'v... by dougk16 on Thursday October 27, 2016 @10:32AM (#12805358)
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.
Re:Ask HN: What are the best personal project websites you'v... by mdrzn on Thursday October 27, 2016 @10:43AM (#12805443)
Talking about worrydream.com
Re:Ask HN: What are the best personal project websites you'v... by wlesieutre on Thursday October 27, 2016 @10:49AM (#12805512)
Yeah, 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.

Re:Ask HN: What are the best personal project websites you'v... by worldsayshi on Thursday October 27, 2016 @11:03AM (#12805647)
In 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.

Re:Ask HN: What are the best personal project websites you'v... by rpeden on Thursday October 27, 2016 @10:57AM (#12805588)
That 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.
Re:Ask HN: What are the best personal project websites you'v... by wlesieutre on Thursday October 27, 2016 @11:17AM (#12805810)
It 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.

Re:Ask HN: What are the best personal project websites you'v... by d-sc on Thursday October 27, 2016 @01:57PM (#12807520)
On my iPhone it works perfectly.