Navigation überspringen
Can we please stop with the scroll-jacking carousels on websites?

Sensible Inhalte

Dieses Video kann sensible Inhalte enthalten.

Can we please stop with the scroll-jacking carousels on websites?

Wes Bos

@wesbos443.722 Follower

Auf X besuchen
5.712 LikesHerunterladenOriginalbeitrag

305.522 Aufrufe

Can we please stop with the scroll-jacking carousels on websites? CSS Scroll Snap is a much better solution! Re-built the Uniqlo home page with 6 lines of CSS and 4 lines of JS

11 Kommentare

Kommentare aus dem Originalbeitrag auf X (Twitter)

  • Profilbild von jhey ▲🐻🎈

    @jh3yy

    can do it without any JavaScript at all *based on scroll-driven animation support but scrollsnapchanging isn't in Firefox/Safari either

    123 Likes

  • Profilbild von Manish Baghel

    @ManishBaghelz

    I used to work at Uniqlo in the backend team and no one in the engineering team liked this scroll behavior but for some reason the business team insisted on keeping it. I'll forward your post to the frontend team at Uniqlo hopefully they'll work on it.

    69 Likes

  • Profilbild von Wes Bos

    @wesbos

    Please do! Love uniqlo, I'm wearing jeans an a shirt RN. love the stores, but the website UX needs a bit of work

    13 Likes

  • Profilbild von QuackSnippets 🦆✂️

    @quackimaduc

    Every developer: "scrolljacking is bad" Every developer working on a brand landing page: "but what if we did it just this once...?"

    56 Likes

  • Profilbild von Wes Bos

    @wesbos

    @Brandon10270824 Developers hate carousels too, but the reality is that people buying stuff, and the marketing department that is fighting for landing page space love them

    35 Likes

  • Profilbild von ⚇

    @ezzAFC

    "awful experience" you say, but why would a customer, who is browsing a landing page for new items, want to speed through the page like in your rework? Uniqlo's anchors to the next section on purpose and it would meet the users expectations

    5 Likes

  • Profilbild von Wes Bos

    @wesbos

    Its not that I want to speed through them, but I want to be able to scroll natively and not be restricted. Try it yourself - very frustrating: Also, I am a uniqlo customer - I was shopping for a shirt while wearing their jeans + sweater and it frustrated me - I'm not just a grumpy dev looking for a reason to make a video

    5 Likes

  • Profilbild von whatnicktweets

    @whatnicktweets

    Can watch these all day. Moar papa

    3 Likes

  • Profilbild von Wes Bos

    @wesbos

    over 200 short vids posted here, but easier to find them all on my tiktok or instagram

    2 Likes

  • Profilbild von Rohil

    @Rohil_Cris

    Can we get rid of carousel packages (swiper, slick etc...) and just use this to build an image carousel?

    2 Likes

  • Profilbild von Wes Bos

    @wesbos

    yep! And one of the huge benefits here is that touch is built into scrolling.

    5 Likes