ProgressNS / nativescript-ui-feedback

This repository is used for customer feedback regarding Telerik UI for NativeScript. The issues system here is used by customers who want to submit their feature requests or vote for existing ones.
Other
115 stars 21 forks source link

RadListView with multiple item templates toggling visibility #895

Open glennsyang opened 5 years ago

glennsyang commented 5 years ago

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

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

tsonevn commented 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.