Skip to content

How to scroll panel into view when it is shown on click? #96

Open

Description

@gnoyixiang

Hello!
I would like the panel to be scrolled into view (if it is not in view) when the user clicks it.
I cannot get the DOM element by applying ref to the Collapse or Panel component.
Kindly advise. Thanks!

Activity

  1. marko1943 commented on Dec 11, 2018

    @marko1943

    any luck with this? 😄

  2. gnoyixiang commented on Dec 12, 2018

    @gnoyixiang
    Author

    Nope, havent tried out anything yet. But I think the way to do it is apply ref to the children node of the Panel. That should work and should be the way it is.

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

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