Open glennsyang opened 5 years ago
Hi @glennsyang, Thank you for the provided sample project. We reviewed it, however, we were unable to find a solution to this case. The problem, you are facing seems to be related to a missing feature(collapsable headers) in RadListView component for iOS. We will investigate further how this feature can be added for this component. For now, I would suggest keeping track on the issue for further info.
Did you verify this is a real problem by searching the NativeScript Forum?
Yes
Tell us about the problem
I have an issue with the radlistview with multiple item templates and toggling visibility. I'm trying to re-create an according type display without using the nativescript-accordion plugin. By toggling the visibility attribute for a given item
Which platform(s) does your issue occur on?
iOS (Android works fine, as expected)
Please provide the following version numbers that your issue occurs with:
Please tell us how to recreate the issue in as much detail as possible.
It's hiding the items below the header item, but all the items below, even the ones that were not set to visibilty="collapsed". Please see .gif for the behavior.![ljcga](https://user-images.githubusercontent.com/38868199/47454008-e99e8300-d782-11e8-998c-814975082f3c.gif)
Any ideas?
It seems like momentarily its doing the right thing, but then it hides everything under, which is not what I want. I want it to just hide the items under the tapped header. I've also tried using the refresh() method of listview, same result in terms of behavior.
Is there code involved? If so, please share the minimal amount of code needed to recreate the problem.
Here's the link to the playground example: https://play.nativescript.org/?template=play-js&id=eC5qGO&v=34