Live data from Hacker News

Lenis – Get smooth or die trying

lenis.studiofreight.com

41–50 of 53 posts

Re: Lenis – Get smooth or die trying

#41

Earlier quoted context omitted.

Glad this comment was here haha, I'm on an m1 ultra macbook pro (the m2s haven't shipped yet?) and it does scroll really smoothly

M2 Macbook Pros are definitely available: https://www.apple.com/shop/buy-mac/macbook-pro/13-inch

lol the 13 inch

Re: Lenis – Get smooth or die trying

#42
I think there's a lot of hate in the comments, and while I agree (stop hijacking my scrollbar), I'd like to inject some constructive positivity:

1. They put the disclaimer right in their motto. Get smooth or die trying. They're willing to accept failure in pursuit of peak smoothness.

2. Hate it as much as you want, ever since the awful idea was born, we haven't been able to prevent websites from doing this. Some implementations are better than others, and having standardization will help improve the state of the web for all websites that make this... terrible... decision. Their implementation happens to be quite nice.

3. Even if there's issues with the implementation, having a standard library means that when updates get applied, they apply to all websites that use them.

Re: Lenis – Get smooth or die trying

#44
post #26
post #21

IMMEDIATELY notice that it breaks two finger swipe back on Mac. Stop. Hijacking. Scrollbars.

>...it breaks two finger swipe back on Mac. 2-finger swipe as in swiping left or right to navigate forward and back? Isn't that a hardware or OS function so it can be differentiated from opening/closing the notification center? Or are browsers really monitoring for scroll left/scroll right inputs to infer two finger swipe?

I don't know. But that site breaks it.

Re: Lenis – Get smooth or die trying

#45
HN probably wasn't ever going to like this, for good reasons.

For someone trying to make something artsy, this probably solves a lot of problems common with this form of scroll-linked animation. I don't see an issue with that! It sure is nice looking, at least on my machine. (FF 107, 2019 MBP)

But please never use this on anything I'm expected to actually read.

Re: Lenis – Get smooth or die trying

#47
post #28
post #22

Earlier quoted context omitted.

i5-12400, Firefox here. Smooth as butter. No fans. Then again this is a desktop machine. But I find these sites 100% unnecessary. Just put all your shit in the first section so I don't have to scroll. There's about half a screen of content surrounded in an ocean of bollocks.

I agree (scrolling to "immerse the reader" is unnecessary, let your content speak), but it would be equally annoying to have a site about a new scrolling library refuse to use it. That would be like all those news articles that talk about interesting would-be visual things without providing images.

I think people are mad because they disagree with the whole reason the library exists in the first place. Sure, obviously the site advertising the scrolling library should probably use the scrolling library. But it's still an awful idea and just shouldn't exist in the first place.

Re: Lenis – Get smooth or die trying

#48

Absolute garbage idea. Don’t fuck with my scrollbar. My browser is set to do what I want it to do. It knows better than you do. In fact, your site probably doesn’t need JavaScript at all. Everything since the late 90s has been a step in the wrong direction.

Absolutely this. Terrible idea. I'm so sick of shit like this trying to make the web even worse to use.
Post reply on HN