-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
[regression/6.0.400-preview.22301.10] Label not getting resized to the change in Text length on Android resurfaced again in 6.0.400-preview #8028
Comments
I create the project demo use by "dotnew new maui", then I run the demo in Android 7.1.2, and clicked the "Click me" button, the button's width is not changed, the button's text changed to "Clicked", it's wrong, the right text must be "Clicked 1 time". |
I've added new options to make things more clear. Thanks! |
with vs 17.3.0 Preview 3.0 [32614.275.main], after clicked the "Click me" button, the button's width is not changed, the button's text changed to "Clicked". |
I saw the same issue on Android : If a Label Text property is empty in XAML (i.e. TEXT="") Workaround: This is an issue with the latest 6.0.400 |
Should be fixed by #8136 |
UPDATE - I see its moot, given #8136 Note: See Explicitly call InvalidateArrange, where I demonstrate it not resizing to the new text even with a later I did various tests ("Work-arounds #1-#3), to show that the initial sizing logic does correctly work. In "Work-around #4", I verified that if There must be something that is done during initial creation of the native control, that is not done by a later |
@symbai |
Description
Same issue as #5717 and #6066. Resurfaced again in 6.0.400-preview.22301.10
Kindly add the GA version to the
Last version that worked well
list, as of now selected RC3.Steps to Reproduce
Same as mentioned in #6066
Version with bug
6.0 (current)
Last version that worked well
Release Candidate 3 (current)
Affected platforms
Android
Affected platform versions
Android 31.0
Did you find any workaround?
Nope
Relevant log output
No response
The text was updated successfully, but these errors were encountered: