Skip to content

Pat scroll selector: top #721

@cornae

Description

@cornae

An important use case for pat-scroll is to use it to auto scroll to the top of a content when you come from an overview page at a larger position. Generally the designer wants to scroll to the top most position. In some designs it's hard to find a suitable element to scroll to. A proposed solution is to introduce a special value 'top': selector: top. The value 'top' could be used instead of a CSS selector in case no usable element is available in the design.

I've fitted the test page with an example.

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