ion-tree-list
ion-tree-list copied to clipboard
Children trees of items collapse automatically when you click on this first time
When you click on the items first time having further children tree.Then all the trees inside these items automatically collapse,But it is working fine after that.I take a look at your code and to do some modification but couldn't able to solve this issue.Would you please help me on it?
Hi @mukul7052, I am not very sure if I get your issue.
It's true that uncollapsed elements are collapsed when clicking on the 'collapse' button in the example site.
It might be that you find this an odd behavior?
A possible workaround could be to add two new actions to the directive where we collapse and uncollapse all elements (including subtrees).
It would be great if you could provide a bit more of feedback before we start implementing the new functionality.
Thank you very much for reporting!
@mukul7052 I'd love to help if you can provide a bit more of the insights of this issue. Might be a non clear feature for more people.
@fer I guess @mukul7052 is referring to issue #46
Hi @mukul7052 and @nilaykothari90 ,
Could you please confirm this is the desired behaviour?
Find the proposal here (please ignore the commit message): https://github.com/fer/ion-tree-list/commit/5be7a8d0f657fb5d997f654bcf378414ec9762a9
And an animated gif on how it would work:
It works for me. Thanks Fer for the quick help.
Fer,
Thank you very much for your kind cooperation, is working great for me also!
¡Gracias! ;-)
Ok, I will soon have this implemented as a feature in the library and will close these two tickets.
Thank you for your support!