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

[android] Fixed ListView visibility and opacity on Android #16941

Merged
merged 4 commits into from
Aug 25, 2023

Conversation

mauroa
Copy link
Contributor

@mauroa mauroa commented Aug 22, 2023

Description of Change

Visibility and Opacity settings were not working correctly when the control was inside a container.
For the case of visibility, it was only being set for the container when it needed to be set for both the container and the control.
For the case of opacity, it was also only being set for the container, which could reduce the opacity of the control as a side effect because it's a value affected by its parent value. In this case, we need to ensure the control has 100% opacity so it gets and uses the correct value of the container.

Also added Appium tests to test both issues.

fixes #15826
fixes #15357
fixes #16718
fixes #10303
fixes #16729
fixes #11499
fixes #12211

Visibility and Opacity settings were not working correctly when the control was inside a container.
For the case of visibility, it was only being set for the container when it needed to be set for both the container and the control.
For the case of opacity, it was also only being set for the container, which could reduce the opacity of the control as a side effect because it's a value affected by its parent value. In this case, we need to ensure the control has 100% opacity so it applies and uses the correct value to the container.

Fixes:
#15826
#15357
@mauroa mauroa requested a review from a team as a code owner August 22, 2023 22:37
@mauroa mauroa self-assigned this Aug 22, 2023
@mauroa mauroa marked this pull request as draft August 22, 2023 22:38
@mauroa mauroa marked this pull request as ready for review August 23, 2023 15:24
@Eilon Eilon added the area-controls-listview ListView and TableView label Aug 24, 2023
@mauroa mauroa requested a review from PureWeen August 24, 2023 22:21
@PureWeen PureWeen enabled auto-merge (squash) August 24, 2023 23:15
@PureWeen PureWeen merged commit 58498f8 into main Aug 25, 2023
34 checks passed
@PureWeen PureWeen deleted the dev/mag/bug15826 branch August 25, 2023 00:28
@github-actions github-actions bot locked and limited conversation to collaborators Dec 5, 2023
@samhouts samhouts added the fixed-in-8.0.0-rc.1.9171 Look for this fix in 8.0.0-rc.1.9171 label Aug 2, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-controls-listview ListView and TableView fixed-in-8.0.0-rc.1.9171 Look for this fix in 8.0.0-rc.1.9171 platform/android 🤖
Projects
None yet
4 participants