Skip to content

Feature Request: ability to "continue" scrolling if needed #140

Open
@matthew-dean

Description

@matthew-dean

One of the things I wish I could do is alter the scrolling mechanism or skipping elements to scroll based on certain conditions, but the side-effect of attaching a function to behavior is that it effectively interrupts all scrolling. It would be nice to alter the list of elements to scroll, and where they will scroll to, but then pass the action back to the library, since it already polyfills smooth scrolling. Otherwise, if I use behavior: Function, then I have to additionally polyfill smooth scrolling, even though it's polyfilled in your library internally. It would be nice to say back to scrollIntoView, "yes, continue scrolling this and this element smoothly, although change element 2's eventual scroll position. And no, don't scroll element 3." And then the magic just continues from there.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions