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 · 3 comments
Open

Shadow on button causes faulty line break behaviour #27006

owl-guy opened this issue Jan 8, 2025 · 3 comments
Labels
area-controls-button Button, ImageButton platform/android 🤖 s/triaged Issue has been reviewed s/try-latest-version Please try to reproduce the potential issue on the latest public version 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
@RoiChen001 RoiChen001 added s/triaged Issue has been reviewed s/try-latest-version Please try to reproduce the potential issue on the latest public version labels Jan 17, 2025
Copy link
Contributor

Hi @owl-guy. We have added the "s/try-latest-version" label to this issue, which indicates that we'd like you to try and reproduce this issue on the latest available public version. This can happen because we think that this issue was fixed in a version that has just been released, or the information provided by you indicates that you might be working with an older version.

You can install the latest version by installing the latest Visual Studio (Preview) with the .NET MAUI workload installed. If the issue still persists, please let us know with any additional details and ideally a reproduction project provided through a GitHub repository.

This issue will be closed automatically in 7 days if we do not hear back from you by then - please feel free to re-open it if you come back to this issue after that time.

@RoiChen001
Copy link

This issue cannot be reproduced at Android platform on the latest 17.13 Preview 2.1(9.0.30 & 9.0.10).

Image

@vishnumenon2684 vishnumenon2684 removed the partner/syncfusion Issues / PR's with Syncfusion collaboration label Jan 22, 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 platform/android 🤖 s/triaged Issue has been reviewed s/try-latest-version Please try to reproduce the potential issue on the latest public version t/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants