Skip to content

[RFC]: Add better scroll options to links #299

Description

@Tobbe

Summary

RedwoodSDK just had a sweet PR come in for better scroll control on navigation. I want something similar for CedarJS!
Cedar already has a scroll?: boolean prop, but I like the more explicit scrollToTop name from RWSDK better. And the scrollBehavior is nice too 🤩

redwoodjs/sdk#616
https://github.com/cedarjs/cedar/blob/main/packages/router/src/history.tsx

Motivation

Users should have better control over how navigation works and feels in their application

Detailed proposal

See the linked RWSDK PR. There's also more context in their discord here https://discord.com/channels/679514959968993311/679514959968993476/1396963062111797328

Are you interested in working on this?

  • I'm interested in working on this

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions