[Bug] [Android] Content rendered above a Material button is not visible when button is pressed
#7,300 opened on 2019/08/28
Repository metrics
- Stars
- (5,644 個のスター)
- PR merge metrics
- (30d に merged PR はありません)
説明
Description
When you render some content above a Material button, pressing the button on Android will give the button a higher elevation than the other content, hiding said content. We've had a few issues around this area and they've all been closed even though the fixes didn't fix this particular scenario.
related information PR #6271, ISSUE #6262, ISSUE #5642
@pureween commented on 5642
this one is partially fixed by this PR #6271 the main side effect that exists is once you click on the button then the labels disappear under the button. The material renderer has a dynamic elevation so the elevation increases when it's clicked
Steps to Reproduce
- Create a Layout with some input transparent content overlaying a material button.
- Tap the button.
Expected Behavior
The content above the button is still visible when pressing the button.
Actual Behavior
The button is rendered above the content.
Basic Information
- Version with issue: 3.6.0.264807 all the way to 4.2.0
- Last known good version: n/a
- Platform Target Frameworks:
- Android:
Screenshots
Reproduction Link
I'm linking the repro project from issue 5642 as the issue is still there. https://github.com/xamarin/Xamarin.Forms/files/2990085/ButtonOverlayIssue.zip