Skip to content

Page scrolls to Top automatically. How to stop it? #96

@aslamdoctor

Description

@aslamdoctor

E.g. I have used anchor links in my slideout menu that just scrolls the same page to its various sections. In that situation, if I click on any link under slideout menu, it scrolls the page to that position by keeing the menu open. And when I close the menu, the page scrolls back to top. Is there any way to do any one of below ?

  1. Close the menu immediately when clicked on any link under the menu and scroll the page to it's anchor tag.
  2. Keep the menu opened as it is right now, but also keep the scrolled position of the page and do not scroll to top when menu is closed.

This can be checked here http://candelisapeople.com.gridhosted.co.uk/

Thank You

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions