Skip to content

Does it possible to scroll when <a/> is clicked but not hashchange? #1780

Description

@Kido-200

Feature request

What problem does this feature solve?

Click a a link after first time, it will not scroll.

What does the proposed API look like?

https://ant.design/components/grid/#components-grid-demo-flex-align
In antd doc, we can click the right siderbar to trigger scroll everytime.
image

How should this be implemented in your opinion?

Maybe addEventListener to click, and scroll when a link is clicked?
image

Are you willing to work on this yourself?

I can try, but I just begin with using doscify,maybe have a lot of conflicts with other ability.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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