You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 1, 2024. It is now read-only.
It's super weird behavior. I don't know if XF is a good place for this issue.
iOS seems fine.
Steps to Reproduce
Create layout like that with Button Visual="Material" and sh:Shadows
Set TabBarIsVisible to False on next page
Add navigation to next page on button click
Create AppShell with some dummy tabs
Run app and tap on button
Go back
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
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
Create layout like that with Button Visual="Material" and sh:Shadows
Set TabBarIsVisible to False on next page
Add navigation to next page on button click
Create AppShell with some dummy tabs
Run app and tap on button
Go back
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
I also tried preview XF version with bumped Xamarin.Google.Android.Material but nothing changes.
Screenshots
Reproduction Link
MaterialButtonIssue.zip
Workaround
I haven't found any, setting both HorizontalOptions and VerticalOptions to Fill on each control makes no difference.
The text was updated successfully, but these errors were encountered: