nativescript-gradient icon indicating copy to clipboard operation
nativescript-gradient copied to clipboard

Unwanted animation on Layout's first show in iOS

Open JakubPawlak opened this issue 6 years ago • 1 comments

ezgif-5-ffc503563a

In iOS, Gradient layout is animated when shown for the first time in the NativeScript + Angular app. (tns version: 3.4.3, tns-ios version: 3.4.1)

Steps to reproduce:

  1. Create an empty project.
  2. Add Gradient plugin to the project.
  3. Add Gradient Layout to html and bind it's visibility to variable with default value 'collapsed'.
  4. Change Gradient's visibility to 'visible' on any event like Button's tap.
  5. After the first visibility change, next changes are rendered instantly like an ordinary StackLayout.

JakubPawlak avatar Apr 06 '18 14:04 JakubPawlak

+1 Any way to stop from happening?

7ammer avatar Apr 30 '18 12:04 7ammer