Skip to content
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

Labels with Padding are truncated on IOS #28180

Open
ollex opened this issue Mar 5, 2025 · 1 comment
Open

Labels with Padding are truncated on IOS #28180

ollex opened this issue Mar 5, 2025 · 1 comment
Labels
area-controls-label Label, Span p/2 Work that is important, but is currently not scheduled for release partner/syncfusion Issues / PR's with Syncfusion collaboration platform/iOS 🍎 t/bug Something isn't working
Milestone

Comments

@ollex
Copy link

ollex commented Mar 5, 2025

Description

When a label has a padding assigned, it does not display the complete text on IOS. Without padding, it displays the text properly to its full extend.

Steps to Reproduce

  1. Create a new .NET Maui solution.
  2. Change the default page to contain a label with padding and a text that is long enough to need to be wrapped into more than a single line.
  3. Remove / add padding to see the issue.

Link to public reproduction project repository

https://github.com/ollex/maui-label-issue

Version with bug

9.0.14 SR1.4

Is this a regression from previous behavior?

Yes, this used to work in Xamarin.Forms

Last version that worked well

No response

Affected platforms

iOS

Affected platform versions

IOS 15 and up

Did you find any workaround?

A workaround is to wrap the label into for example a ContentView with Padding and leave the label's padding at zero.

Relevant log output

@ollex ollex added the t/bug Something isn't working label Mar 5, 2025
Copy link

We've found some similar issues:

If any of the above are duplicates, please consider closing this issue out and adding additional context in the original issue.

Note: You can give me feedback by 👍 or 👎 this comment.

@tj-devel709 tj-devel709 added platform/iOS 🍎 area-controls-label Label, Span partner/syncfusion Issues / PR's with Syncfusion collaboration p/2 Work that is important, but is currently not scheduled for release labels Mar 5, 2025
@tj-devel709 tj-devel709 added this to the Backlog milestone Mar 5, 2025
@tj-devel709 tj-devel709 removed the partner/syncfusion Issues / PR's with Syncfusion collaboration label Mar 5, 2025
@karthikraja-arumugam karthikraja-arumugam added the partner/syncfusion Issues / PR's with Syncfusion collaboration label Mar 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-controls-label Label, Span p/2 Work that is important, but is currently not scheduled for release partner/syncfusion Issues / PR's with Syncfusion collaboration platform/iOS 🍎 t/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants