Skip to content
This repository has been archived by the owner on May 1, 2024. It is now read-only.

[Bug] Material Button text is sticking to left border after navigation to next page #14601

Open
kcrg opened this issue Sep 13, 2021 · 0 comments

Comments

@kcrg
Copy link

kcrg commented Sep 13, 2021

Description

There must be:

It's super weird behavior. I don't know if XF is a good place for this issue.
iOS seems fine.

Steps to Reproduce

  1. Create layout like that with Button Visual="Material" and sh:Shadows
    2

  2. Set TabBarIsVisible to False on next page

  3. Add navigation to next page on button click

  4. Create AppShell with some dummy tabs

  5. Run app and tap on button

  6. Go back

  7. Button text is sticking to left border, switching between tabs fix that.

Expected Behavior

Material Button text should be centered

Actual Behavior

Material Button text is sticking to left border

Basic Information

  • Version with issue: 5.0.0.2083
  • Last known good version: idk
  • Platform Target Frameworks:
    • Android: 11
  • NuGet Packages: XF and XF.Visual.Material 5.0.0.2083, Sharpnado.Shadows 1.2.0
    I also tried preview XF version with bumped Xamarin.Google.Android.Material but nothing changes.
  • Affected Devices: Tested on Pixel 3a emulator with Android 11.0

Screenshots

1

Reproduction Link

MaterialButtonIssue.zip

Workaround

I haven't found any, setting both HorizontalOptions and VerticalOptions to Fill on each control makes no difference.

@kcrg kcrg added s/unverified New report that has yet to be verified t/bug 🐛 labels Sep 13, 2021
@jsuarezruiz jsuarezruiz added this to New in Triage via automation Sep 13, 2021
@jsuarezruiz jsuarezruiz moved this from New to Needs Estimate in Triage Sep 21, 2021
@jsuarezruiz jsuarezruiz removed the s/unverified New report that has yet to be verified label Sep 21, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
Triage
  
Needs Estimate
Development

No branches or pull requests

2 participants