Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iOS applyProperty visible=true to ImageView not working as expected #13995

Open
1 task done
Informate opened this issue Feb 16, 2024 · 0 comments
Open
1 task done

iOS applyProperty visible=true to ImageView not working as expected #13995

Informate opened this issue Feb 16, 2024 · 0 comments
Labels
bug ios needs triage This issue hasn't been reviewed by maintainers

Comments

@Informate
Copy link

Informate commented Feb 16, 2024

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

@Informate Informate added bug needs triage This issue hasn't been reviewed by maintainers labels Feb 16, 2024
@m1ga m1ga added the ios label Feb 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug ios needs triage This issue hasn't been reviewed by maintainers
Projects
None yet
Development

No branches or pull requests

2 participants