-
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
[Android] Fixed incorrect tab content display in TabbedPage #27294
base: main
Are you sure you want to change the base?
Conversation
Hey there @Vignesh-SF3580! Thank you so much for your PR! Someone from the team will get assigned to your PR shortly and we'll get it reviewed. |
/azp run |
Azure Pipelines successfully started running 3 pipeline(s). |
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.
Copilot reviewed 5 out of 6 changed files in this pull request and generated no comments.
Files not reviewed (1)
- src/Controls/tests/TestCases.HostApp/Issues/23732Page.xaml: Language not supported
Comments suppressed due to low confidence (1)
src/Controls/tests/TestCases.HostApp/Issues/23732Page.xaml.cs:5
- [nitpick] The class name '_23732Page' is unconventional. It should be renamed to 'Page23732'.
public partial class _23732Page : ContentPage
/azp run |
Azure Pipelines successfully started running 3 pipeline(s). |
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.
I think the failing test is actually valid in this case, please look into that @Vignesh-SF3580
Issue Detail
When opening the app and clicking directly on the fourth tab, the fifth tab's content is displayed instead of the correct content.
Root Cause:
The OffscreenPageLimit mapping was missing in the source, leading to incorrect preloading of tab contents.
Description of Change
Mapped the OffscreenPageLimit property to ensure proper preloading of tab contents, resolving the issue.
Tested the behavior in the following platforms
Issues Fixed
Fixes #23732
Screenshots
TabBarBefore.mov
TabBarAfter.mov