This repository has been archived by the owner on May 1, 2024. It is now read-only.
Force Shell TitleView to height of container and fix flyout header scroll behaviors #13514
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PureWeen
added
the
blocker
Issue blocks next stable release. Prioritize fixing and reviewing this issue.
label
Jan 23, 2021
PureWeen
added
the
DO-NOT-MERGE-!!! 🛑
This is in progress and needs to be updated before it can be merged.
label
Jan 23, 2021
PureWeen
changed the title
Force Shell TitleView to height of container
Force Shell TitleView to height of container and fix flyout header scroll behaviors
Jan 23, 2021
PureWeen
removed
the
DO-NOT-MERGE-!!! 🛑
This is in progress and needs to be updated before it can be merged.
label
Jan 23, 2021
PureWeen
commented
Jan 23, 2021
Xamarin.Forms.Platform.Android/Renderers/ShellFlyoutTemplatedContentRenderer.cs
Show resolved
Hide resolved
Failing tests not related |
2 tasks
rmarinho
reviewed
Feb 5, 2021
@@ -415,6 +416,20 @@ public override CGRect Frame | |||
} | |||
} | |||
|
|||
public override void WillMoveToSuperview(UIView newsuper) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
newSuper ?
rmarinho
approved these changes
Feb 5, 2021
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Works fine.
rachelkang
approved these changes
Feb 8, 2021
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! All UI Tests passing on Android and iOS, and nuget fixes all issues mentioned
iOS different behavior of flyout scrollview will need to be further explored in a separate issue/PR
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description of Change
Fixed the TitleView on Shell to force its bounds to the size of the titleview container on iOS. It's currently using the measured height of View to layout. Also fixed the scroll behaviors on the shell flyout. The TitleView and the FlyoutHeader both use the same control helpers to renderer so the fix applied both places
Issues Resolved
Platforms Affected
Testing Procedure
PR Checklist