-
Notifications
You must be signed in to change notification settings - Fork 1.9k
[Android][Label] Setting a Label visible after having had focus on a InputView will increase the Label's height #29194
Copy link
Copy link
Closed
Labels
area-controls-labelLabel, SpanLabel, Spanfixed-in-9.0.61i/regressionThis issue described a confirmed regression on a currently supported versionThis issue described a confirmed regression on a currently supported versionpartner/syncfusionIssues / PR's with Syncfusion collaborationIssues / PR's with Syncfusion collaborationplatform/androidregressed-in-9.0.60s/triagedIssue has been reviewedIssue has been revieweds/verifiedVerified / Reproducible Issue ready for Engineering TriageVerified / Reproducible Issue ready for Engineering Triaget/bugSomething isn't workingSomething isn't working
Milestone
Description
Description
If you have a Label that is invisible, and then setting it to visible after having had focus on a InputView increases its height. It does not matter if you lose focus on the InputView, and then set the Label visible. However, if you toggle the Label's visibility, and then set focus on InputView, the Label will not increase its height.
Steps to Reproduce
- Clone https://github.com/Vetle444/MauiTestApp/tree/vefi/focusFirstIsVisibleTrueExpandingHeight/MauiTestApp
- Make sure to be on branch: vefi/focusFirstIsVisibleTrueExpandingHeight/MauiTestApp
- Run app
- Click Navigate
- Tap on the Entry
- Tap on the Switch
- The Label's height is increased
Link to public reproduction project repository
Version with bug
9.0.60 SR6
Is this a regression from previous behavior?
Yes, this used to work in .NET MAUI
Last version that worked well
9.0.50 SR3
Affected platforms
Android
Affected platform versions
No response
Did you find any workaround?
Override CreatePlatformView with a regular AppCompatTextView in handler, however, this most likely provokes some bugs
Relevant log output
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area-controls-labelLabel, SpanLabel, Spanfixed-in-9.0.61i/regressionThis issue described a confirmed regression on a currently supported versionThis issue described a confirmed regression on a currently supported versionpartner/syncfusionIssues / PR's with Syncfusion collaborationIssues / PR's with Syncfusion collaborationplatform/androidregressed-in-9.0.60s/triagedIssue has been reviewedIssue has been revieweds/verifiedVerified / Reproducible Issue ready for Engineering TriageVerified / Reproducible Issue ready for Engineering Triaget/bugSomething isn't workingSomething isn't working
Type
Projects
Status
Done
