-
Notifications
You must be signed in to change notification settings - Fork 749
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[iOS 17] Fluent Button text is offset to the right #13331
Comments
Update: iOS 17 Beta 6 does not fix this issue. |
Do you know what's special about this style that causes the issue? Like why it happens on that particular style but not on others? |
The button in the screenshot is this one: uno/src/Uno.UI.FluentTheme.v2/Resources/Version2/PriorityDefault/Button_themeresources.xaml Line 140 in 0bc77d0
But we do not yet have more details to provide. |
Update on this, iOS 17 Beta 8: Continuing the investigation. |
Update: We noticed the issue is happening when having a <Button Click="GetGeopositionButton_Click">
<TextBlock Text="{Binding ButtonContent}" VerticalAlignment="Stretch" TextAlignment="Center" />
</Button> On Gallery, on the Sample Page we are seeing this problem, we have replaced the code above (PR # unoplatform/Uno.Gallery#941) with a simple <Button Click="GetGeopositionButton_Click"
Content="{Binding ButtonContent}"
HorizontalContentAlignment="Center"
VerticalContentAlignment="Stretch" /> Once merged we will test on the device where the problem was reported. |
@ajpinedam is this issue fixed now? |
It's not, but we've not been able to reliably reproduce it at this time. |
@jeromelaban this issue seems to be fixed in later versions of iOS. Can we close this issue? |
Yes, let's close! |
Current behavior
Location of the code below.
iOS 16:
iOS 17:
How to reproduce it (as minimally and precisely as possible)
Uno Gallery running in iOS 17 Preview 5
Workaround
None so far
Environment
No response
NuGet package version(s)
4.9.43
5.0.0-dev.2127
Anything else we need to know?
Clicking the button makes the text appear at the appropriate location.
The text was updated successfully, but these errors were encountered: