Open
Description
Environment
- tns: 4.2.1
- iOS Runtime: iOS 12.0.1
- NativeScript-Angular: 6.1.1
Describe the bug
Using two templates to expand/collapse items in a ListView doesn't render well.
With the default animation an expanded item flickers during the animation. When collapsed, the size of the item shrinks and then only the item disappears.
If the default animation is disabled (by using UIView.animateWithDurationAnimations(0, () => {...}) then the response time is very long to expand or collapse an item (around 4s on my ipad for a list of 100 items).
Expected behavior
A smooth and responsive collapse/expand whatever the size of the list.
Sample project
https://play.nativescript.org/?template=play-ng&id=LFHc8M&v=5