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

InputTransparent="true" on a Layout breaks child controls on Android #22289

Closed
rudyspano opened this issue May 8, 2024 · 3 comments · Fixed by #22345
Closed

InputTransparent="true" on a Layout breaks child controls on Android #22289

rudyspano opened this issue May 8, 2024 · 3 comments · Fixed by #22345
Assignees
Labels
area-layout StackLayout, GridLayout, ContentView, AbsoluteLayout, FlexLayout, ContentPresenter fixed-in-8.0.70 fixed-in-9.0.0-preview.7.24407.4 platform/android 🤖 t/bug Something isn't working
Milestone

Comments

@rudyspano
Copy link

Description

On Android, setting InputTransparent=true on a layout (for example: Grid) leads to bugs on child controls.
If we want to display after a user action a child control that was previously not visible (IsVisible=false => true), the first time the control is not displayed as you can see in my reproduction sample.
InputTransparentIssue.zip

inputtransparentbug.mov

I've also seen that animating other properties on child controls of a layout also causes weird behaviors.

Steps to Reproduce

No response

Link to public reproduction project repository

No response

Version with bug

8.0.21 SR4.1

Is this a regression from previous behavior?

Yes, this used to work in Xamarin.Forms

Last version that worked well

Unknown/Other

Affected platforms

Android

Affected platform versions

No response

Did you find any workaround?

No response

Relevant log output

No response

@rudyspano rudyspano added the t/bug Something isn't working label May 8, 2024
Copy link
Contributor

github-actions bot commented May 8, 2024

Hi I'm an AI powered bot that finds similar issues based off the issue title.

Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you!

Open similar issues:

Closed similar issues:

Note: You can give me feedback by thumbs upping or thumbs downing this comment.

@Zhanglirong-Winnie Zhanglirong-Winnie added s/verified Verified / Reproducible Issue ready for Engineering Triage s/triaged Issue has been reviewed labels May 8, 2024
@Zhanglirong-Winnie
Copy link

Verified this issue with Visual Studio 17.10 Preview 6.0 (8.0.21). Can repro on android platform with sample project.

@PureWeen PureWeen added this to the Backlog milestone May 8, 2024
@PureWeen PureWeen self-assigned this May 8, 2024
@PureWeen
Copy link
Member

PureWeen commented May 8, 2024

I've also seen this occasionally with CV and controls that are inside a WrapperView

@Eilon Eilon added the area-layout StackLayout, GridLayout, ContentView, AbsoluteLayout, FlexLayout, ContentPresenter label May 8, 2024
kubaflo added a commit to kubaflo/maui that referenced this issue May 11, 2024
kubaflo added a commit to kubaflo/maui that referenced this issue May 11, 2024
@samhouts samhouts removed s/verified Verified / Reproducible Issue ready for Engineering Triage s/triaged Issue has been reviewed labels Jul 3, 2024
kubaflo added a commit to kubaflo/maui that referenced this issue Jul 3, 2024
kubaflo added a commit to kubaflo/maui that referenced this issue Jul 3, 2024
@github-project-automation github-project-automation bot moved this from Todo to Done in MAUI SDK Ongoing Jul 4, 2024
@github-actions github-actions bot locked and limited conversation to collaborators Aug 30, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-layout StackLayout, GridLayout, ContentView, AbsoluteLayout, FlexLayout, ContentPresenter fixed-in-8.0.70 fixed-in-9.0.0-preview.7.24407.4 platform/android 🤖 t/bug Something isn't working
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

5 participants