Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix collapse icon and add expand logic #29

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

TheChrisTech
Copy link

This PR fixes two things:

  1. The Expand/Collapse Icon was always present, even if there were no child nodes. Now, this expand/collapse icon only shows when there are child nodes. Expand/Collapse Icons Should Not Render When No Children Nodes Are Available #20
  2. Additional logic was added in that if the data passed to the tree includes an expanded field value of true, then that node will automatically be expanded upon loading of the tree. States #22 Add the ability to specify whether a node should be initially expanded  #23

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant