Skip to content

[css-scroll-snap] scroll snap animation #11096

@NicTanghe

Description

@NicTanghe

a way to animate the spline that is being to center on the entry it snaps on. so that you can add some overshoot

EDIT:
the original problem i was facing is a problem with firefoxes implementation.

Hello trying to make some css layout with a bunch of links that you can scroll horizontally.
I was surprised to find out you can really only configure scrolling 1 by 1 without having links cut off.

Without having to write a bunch of custom logic.

I think that a new scroll-snap type would fix this

scroll-snap-type: end

It would just let you normal scroll until you stop scrolling and then snap to the end so that nothing is cut off.

(note that i am testing on a mouse pad so it might be a bug where something doesn`t work on ff)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions