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

expand icon doesn't show up if the children is empty #399

Open
sagarreddy-gfk opened this issue Jan 20, 2023 · 2 comments
Open

expand icon doesn't show up if the children is empty #399

sagarreddy-gfk opened this issue Jan 20, 2023 · 2 comments
Milestone

Comments

@sagarreddy-gfk
Copy link

On every click of the label, if the children is empty we are making api call to fetch the children of that particular label and append data to clicked label. In this case, since children is empty, expand icon is not visible.

Can someone pls let me know how to handle this scenario. Thanks in advance!

@jakezatecky jakezatecky added this to the v2.0.0 milestone Jan 23, 2023
@jakezatecky
Copy link
Owner

jakezatecky commented Jan 23, 2023

Your use case makes sense. We can add this behavior to the component, but this would be a breaking change. However, I think this is worth inclusion. I will slate this for the next major version.

@sagarreddy-gfk
Copy link
Author

Thank you!

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

No branches or pull requests

2 participants