• Hi,

    I need a help with toggles on my website.
    My page is organized in such way that there are multiple toggle buttons, and when one is clicked, it expands and shows the content.
    If then another toggle is clicked on, the first toggle auto-collapses and the other expands.

    The problem is that – when another toggle expands its content, viewing-window is not set to the beginning of this toggle. Depending on the size of the content compared to the content length of the previous toggle, sometimes you have to scroll up to see the content of the toggle you’ve just clicked on.
    This is not very intuitive…

    What I want to ask:
    Is there a way to ensure the website auto-scrolls to the beginning of the content under a toggle when a certain toggle button is clicked on?

    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Auto-scroll to beginning of toggle’ is closed to new replies.