Focus the selected node in Tree

UI Components for React
Post Reply
Posts: 6
Joined: 25 Nov 2019, 16:36

01 Jul 2020, 10:50

Problem: i have an container with fixed height, if there are more tree nodes then scroll will be shown... i have an button somewhere in UI , on clicking that i will have to select an node in the tree. If the node is at the bottom of the scroll container, is highlighted but i will have to scroll to see that..

Question: is there a way to focus the selected node in UI or scroll to the selected node automatically?

Would really appreciate if there is any idea or solution.

Post Reply

Return to “PrimeReact”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 1 guest