How to scroll panel into view when it is shown on click?
gnoyixiang opened this issue · 2 comments
gnoyixiang commented
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!
marko1943 commented
any luck with this? 😄
gnoyixiang commented
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.