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

iOS Shell TitleView Update Height #20795

Merged
merged 2 commits into from Feb 27, 2024
Merged

iOS Shell TitleView Update Height #20795

merged 2 commits into from Feb 27, 2024

Conversation

tj-devel709
Copy link
Contributor

@tj-devel709 tj-devel709 commented Feb 22, 2024

Description of Change

If you change the constraints on iOS Shell TitleView, the height was not getting updated correctly. Currently, the LayoutSubviews is calling to update the frame only once, but since the issue in question is updating the height again, it was not getting processed.

Now on first loading the screen, the TitleView has the expected height above the tabs as such:

Screenshot 2024-02-22 at 4 33 15 PM

Testing

You can test this change on this branch: https://github.com/dotnet/maui/tree/dev/TJ/TitleViewHeight2-PRTesting and observe that the TitleView covers the entire height.

Issues Fixed

Fixes #18060

@tj-devel709 tj-devel709 added platform/iOS 🍎 area/shell 🐢 Shell Navigation, Routes, Tabs, Flyout partner/cat 😻 Client CAT Team migration-compatibility Xamarin.Forms to .NET MAUI Migration, Upgrade Assistant, Try-Convert labels Feb 22, 2024
@tj-devel709 tj-devel709 requested a review from a team as a code owner February 22, 2024 22:52
@tj-devel709 tj-devel709 added this to the .NET 8 SR3 milestone Feb 22, 2024
@tj-devel709 tj-devel709 merged commit 37ca0c2 into main Feb 27, 2024
45 of 47 checks passed
@tj-devel709 tj-devel709 deleted the dev/TJ/TitleViewHeight2 branch February 27, 2024 15:19
@github-actions github-actions bot locked and limited conversation to collaborators Mar 29, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area/shell 🐢 Shell Navigation, Routes, Tabs, Flyout migration-compatibility Xamarin.Forms to .NET MAUI Migration, Upgrade Assistant, Try-Convert partner/cat 😻 Client CAT Team platform/iOS 🍎
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Shell TitleView on iOS not occupying requested height
2 participants