dotnet / maui

.NET MAUI is the .NET Multi-platform App UI, a framework for building native device applications spanning mobile, tablet, and desktop.
https://dot.net/maui
MIT License
22.26k stars 1.76k forks source link

[Android] BoxView Fails to Block Input Events When InputTransparent is Set to False #26019

Closed nivetha-nagalingam closed 6 hours ago

nivetha-nagalingam commented 13 hours ago

Description

When using a BoxView as an overlay with InputTransparent set to false, the underlying touch remains fully interactive. Instead of blocking the touch, the button continues to respond to clicks, causing unexpected behavior.

https://github.com/user-attachments/assets/5e56913f-f1da-4731-b8c2-3a38a273ff77

Steps to Reproduce

Link to public reproduction project repository

No response

Version with bug

9.0.0 GA

Is this a regression from previous behavior?

Not sure, did not test other versions

Last version that worked well

Unknown/Other

Affected platforms

Android

Affected platform versions

Android 11 and Up

Did you find any workaround?

No response

Relevant log output

similar-issues-ai[bot] commented 13 hours ago

We've found some similar issues:

If any of the above are duplicates, please consider closing this issue out and adding additional context in the original issue.

Note: You can give me feedback by 👍 or 👎 this comment.

kubaflo commented 6 hours ago

Duplicate of https://github.com/dotnet/maui/issues/26026