xamarin / Xamarin.Forms

Xamarin.Forms is no longer supported. Migrate your apps to .NET MAUI.
https://aka.ms/xamarin-upgrade
Other
5.63k stars 1.87k forks source link

Xamarin Forms Android label formattedtext with underlined section sometimes claims more room pushing text down #15658

Open vsfeedback opened 1 year ago

vsfeedback commented 1 year ago

This issue has been moved from a ticket on Developer Community.


I recently introduced a feature in my app that dynamically underlines text.

I found a problem that is present on Android and can be reproduced with the sample files that I’m including In the sample files attached to this report this problem is called “problem2” and can also be made visible by pressing the "animated" button

if I’m underlining a certain section (unsure what exactly triggers it) of the text, the height claimed by the line get's larger, pushing text below it down.

As this sometimes happens, and sometimes it doesn't this makes the text move up and down in my scenario, which is uneasy on the eyes when reading the text.


Original Comments

Feedback Bot on 12/18/2022, 06:33 PM:

(private comment, text removed)

Nina Chen [MSFT] on 12/20/2022, 02:06 AM:

(private comment, text removed)

sjors miltenburg on 12/20/2022, 03:01 AM:

(private comment, text removed)

Nina Chen [MSFT] on 12/20/2022, 07:10 PM:

(private comment, text removed)

sjors miltenburg on 12/21/2022, 06:45 AM:

(private comment, text removed)

Nina Chen [MSFT] on 12/22/2022, 01:27 AM:

(private comment, text removed)

Feedback Bot on 1/3/2023, 11:26 PM:

(private comment, text removed)

sjors miltenburg on 1/4/2023, 01:49 AM:

(private comment, text removed)

sjors miltenburg on 1/4/2023, 01:58 AM:

(private comment, text removed)

Nina Chen [MSFT] on 1/5/2023, 03:00 AM:

(private comment, text removed)


Original Solutions

(no solutions)