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

Shadow on button causes faulty line break behaviour #27006

Open
owl-guy opened this issue Jan 8, 2025 · 1 comment
Open

Shadow on button causes faulty line break behaviour #27006

owl-guy opened this issue Jan 8, 2025 · 1 comment
Assignees
Labels
area-controls-button Button, ImageButton partner/syncfusion Issues / PR's with Syncfusion collaboration platform/android 🤖 t/bug Something isn't working
Milestone

Comments

@owl-guy
Copy link

owl-guy commented Jan 8, 2025

Description

When I apply a shadow to a button, the line break behaviour becomes quite inconsistent:
Image
Both buttons have the same text, only the upper one has a shadow. As can be seen, the upper text breaks in a weird way

Steps to Reproduce

  1. Create a new .NET MAUI File
  2. Add a button with a shadow
  3. Put some long text inside the button, with multiple and long words
  4. The text will break in a weird way. Can be seen through hot reload too (changing the text while the app is running in the debugger)

Link to public reproduction project repository

https://github.com/owl-guy/ButtonLineBreakDemo

Version with bug

9.0.10 SR1

Is this a regression from previous behavior?

Not sure, did not test other versions

Last version that worked well

No response

Affected platforms

Android

Affected platform versions

Android 11

Did you find any workaround?

No response

Relevant log output

@owl-guy owl-guy added the t/bug Something isn't working label Jan 8, 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.

@jfversluis jfversluis added this to the Backlog milestone Jan 8, 2025
@sheiksyedm sheiksyedm added the partner/syncfusion Issues / PR's with Syncfusion collaboration label Jan 9, 2025
@sheiksyedm sheiksyedm self-assigned this Jan 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-controls-button Button, ImageButton partner/syncfusion Issues / PR's with Syncfusion collaboration platform/android 🤖 t/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants