Blueprint: Ability to scroll a specific item in a tree into view

Created on 8 Feb 2017  路  1Comment  路  Source: palantir/blueprint

Would like to be able to scroll a specific item in a tree into view. This is useful for any feature where interactions outside of the tree need to reveal something inside of the tree. Couldn't find a way to do it using the existing component.

core feature request

Most helpful comment

Talked this over with @giladgray and decided to go about it this way:

  • Add a Tree#getNodeRef function to core Blueprint
  • Application code can then implement this functionality themselves:

    • expand all parents of a given node

    • call myTreeRef.getNodeRef("myNode").scrollIntoView()

>All comments

Talked this over with @giladgray and decided to go about it this way:

  • Add a Tree#getNodeRef function to core Blueprint
  • Application code can then implement this functionality themselves:

    • expand all parents of a given node

    • call myTreeRef.getNodeRef("myNode").scrollIntoView()

Was this page helpful?
0 / 5 - 0 ratings

Related issues

havesomeleeway picture havesomeleeway  路  3Comments

westrem picture westrem  路  3Comments

scottfr picture scottfr  路  3Comments

vilav picture vilav  路  3Comments

adidahiya picture adidahiya  路  3Comments