-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Open
Labels
area-controls-shellShell Navigation, Routes, Tabs, FlyoutShell Navigation, Routes, Tabs, Flyoutarea-safeareaIssues/PRs that have to do with the SafeArea functionalityIssues/PRs that have to do with the SafeArea functionalityplatform/androids/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
Empty space appears at the bottom of the page when navigating from a page which has the tab bar hidden to a page which has the tab bar visible.
Steps to Reproduce
- Create a new MAUI project with a shell
- Create
Tabpage with the following layout:
Root Grid layout withSafeAreaEdges="None"and place anotherGrid(with defaultSafeAreaEdgeswhich isContainer) inside with a long ScrollView in it. - Add the Tab page 2 or more time to the shell as a tab to make the tab bar appear.
- Create another page which has the tab bar hidden
HiddenTabBarPage. - Setup navigation so the Tab page can navigate next to
HiddenTabBarPage. For example:
Shell.Current.Navigation.PushAsync(new HiddenTabBarPage()); - Launch the app on Android 36 API.
- Navigate to the next page
HiddenTabBarPageand go back
Actual result:
Empty space appears between the nested Grid and the tab bar.
Link to public reproduction project repository
https://github.com/oleh-kaliuzhnyi/SafeAreaContainerIncorrectSize
Version with bug
10.0.40
Is this a regression from previous behavior?
Not sure, did not test other versions
Last version that worked well
No response
Affected platforms
Android
Affected platform versions
Android API 36
Did you find any workaround?
- Subscribe to the
Content.SizeChangedevent of the page which has the tab bar visible. - Change SafeAreaEdges of the root Grid element to anything different. For example:
All. - Change SafeAreaEdges of the root Grid element to its initial value. For example:
None
Relevant log output
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area-controls-shellShell Navigation, Routes, Tabs, FlyoutShell Navigation, Routes, Tabs, Flyoutarea-safeareaIssues/PRs that have to do with the SafeArea functionalityIssues/PRs that have to do with the SafeArea functionalityplatform/androids/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