Xamarin.forms: Xamarin Forms Button some Shadow above the button on tapping

Created on 5 Jul 2018  路  20Comments  路  Source: xamarin/Xamarin.Forms

Description

There is some shadow will come when we tap the button which will half of the button width around and come top left side of that button. This effect is reproducible on Samsung S8 and Samsung Tab S3 as well.

Steps to Reproduce

  1. Create as Xamarin form page
  2. Create any button and give some dark background color
  3. Tap and hold the button and see the effect

Expected Behavior

No Overlay shadow should come.

Actual Behavior

Overlay shadow which comes above the button and cover half of the button width.

Basic Information

  • Version with issue:
  • Last known good version:
  • IDE: Visual Studio 2017
  • Platform Target Frameworks:

    • iOS: 9.0 to latest

    • Android: Android 5.0 To Android 8.1

  • Android Support Library Version:
  • Nuget Packages:
  • Affected Devices: Samsung S8 and Samsung Tab S3

Screenshots

test project button

Reproduction Link

3 help wanted Android bug up-for-grabs

Most helpful comment

Hi ,
This issue is in Xamarin Forms Button. Even if you create normal Xamarin Forms project with PCL library same issue will be replicated for the mention devices (i.e. Samsung S8 and Samsung Tab S3)

All 20 comments

@ajeetsri2006 I'm trying to reproduce the behavior you are seeing, but so far I am not able to. Could you post a minimal reproduction project, or at least the XAML you are using to create this layout?

@ajeetsri2006 Never mind, I stumbled on a way to reproduce it while working on another issue. I'll upload a repro project shortly.

Hi,
Is there any update on that? It is resolved or you are not able to reproduce?

It's currently in our queue; we've been able to reproduce it (the reproduction is linked upthread).

Hey there I'm waiting for this fix. Is it done?

Is this bug in Xamarin.Forms? Or is it a Xamarin.Android.Support package that can be rolled back temporarily?

Hi ,
This issue is in Xamarin Forms Button. Even if you create normal Xamarin Forms project with PCL library same issue will be replicated for the mention devices (i.e. Samsung S8 and Samsung Tab S3)

@pauldipietro Is there any workaround for now, any update regarding this bug would be helpful.

Pretty sure this is a duplicate of #2096 .

Is there any update on this issue?

Do we have an eta for this issue fix?

Do we have an eta for this issue fix?

I wish to know too, it's been few months

Any updates?

Hi, I've also faced the same issue on Samsung Galaxy A5.

look at here #2096

The issue is still happening.

With me happens when i add a background color or a Border Radius. (Galaxy S7).

happening for me with image buttons

<ImageButton x:Name="btnContacts" Grid.Column="1" Source="ic_action_contacts" HorizontalOptions="CenterAndExpand" WidthRequest="35" Visual="Material" Command="{Binding NavigationCommand}" CommandParameter="Contacts"/>

still has issue with latest Xamarin forms / visual.material: 4.3.0.991221

Was this page helpful?
0 / 5 - 0 ratings