iOS applyProperty visible=true to ImageView not working as expected
Informate opened this issue · 0 comments
Informate commented
I have searched and made sure there are no existing issues for the issue I am filing
- I have searched the existing issues
Description
On iOS if I use applyProperty to set the visibility of an ImageView to true inside a larger set of attributes as top,left, height, the imae do not show up again. (visible: true is set as fist attribute).
FIXING WORKAROUND: Just set the property separately after the apply if iOS.
if (!OS_ANDROID) imageView.visible=true;
Expected Behavior
The ImageView shows up.
Actual behavior
The ImageView remain hidden also if the attribute is updated.
Reproducible sample
imageView.applyProperties({visible: true, top: 20, left: 45, height: 80, width: 90});
Steps to reproduce
imageView.applyProperties({visible: false});
imageView.applyProperties({visible: true, top: 20, left: 45, height: 80, width: 90});
Platform
iOS
SDK version you are using
12.1.2.GA
Alloy version you are using
No response