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

Setting SetIsSmoothScrollEnabled to false on a TabbedPage causes blank pages after navigating. #7558

Closed
joshm998 opened this issue May 28, 2022 · 9 comments · Fixed by #11530
Labels
area-controls-tabbedpage TabbedPage fixed-in-8.0.0-preview.1.7762 Look for this fix in 8.0.0-preview.1.7762! platform/android 🤖 s/duplicate 2️⃣ This issue or pull request already exists s/verified Verified / Reproducible Issue ready for Engineering Triage t/bug Something isn't working
Milestone

Comments

@joshm998
Copy link

Description

When setting SetIsSmoothScrollEnabled to false on a TabbedPage the page will work but after navigating between the tabs the content will disappear.
Recording 2022-05-28 at 11 09 27

Example Project
https://github.com/joshm998/MAUITabbedPageIssueExample

Steps to Reproduce

Created new .NET MAUI Project

Added in TabbedPage to start project, added some children to TabbedPage

set the following values
On<Microsoft.Maui.Controls.PlatformConfiguration.Android>().SetIsSmoothScrollEnabled(false); On<Microsoft.Maui.Controls.PlatformConfiguration.Android>().SetIsSwipePagingEnabled(false);

Ran project and when navigating between pages after a while the content will disappear
image

Version with bug

6.0 (current)

Last version that worked well

Unknown/Other

Affected platforms

Android

Affected platform versions

Android 11 and 12

Did you find any workaround?

No response

Relevant log output

No response

@joshm998 joshm998 added s/needs-verification Indicates that this issue needs initial verification before further triage will happen t/bug Something isn't working labels May 28, 2022
@kristinx0211 kristinx0211 added s/verified Verified / Reproducible Issue ready for Engineering Triage and removed s/needs-verification Indicates that this issue needs initial verification before further triage will happen labels May 30, 2022
@kristinx0211
Copy link

can be reproduced on android 12 with above project.

@Eilon Eilon added the area-controls-tabbedpage TabbedPage label May 31, 2022
@nebula2
Copy link

nebula2 commented Oct 5, 2022

same here. I only set SetIsSwipePagingEnabled(false)
and have this behavior.

someone knows a workaround?

@tranb3r
Copy link

tranb3r commented Nov 21, 2022

I'm also having this issue. Any update?

@tranb3r
Copy link

tranb3r commented Dec 1, 2022

Is this going to be fixed in the next release ?
cc @jsuarezruiz : your help would be greatly appreciated. Thanks !

@tranb3r
Copy link

tranb3r commented Dec 5, 2022

The workaround does not work: if you go to Tab4 first, the Tab3, then Tab2, then Tab1, at least one tab is blank.
This issue is simar to #9743, which should be either re-opened or maked as duplicate, since it has not been fixed.
I've also tried to increase the OffscreenPageLimit, without success.

TabbedPage isn't reliable at all right now.
Please, could someone take a look ?

@moraismateus
Copy link

I am also having this issue, does anyone find a good workaround?

@tranb3r
Copy link

tranb3r commented Jan 13, 2023

Hi @PureWeen
Is this issue going to be fixed in the next SR?

@tranb3r
Copy link

tranb3r commented Jan 19, 2023

I've just tested maui 7.0.58, and this issue has not been fixed.
TabbedView is one of the most important UI components, and it's still impossible to use it in production on Android.
Unbelievable...

@drasticactions drasticactions added the s/duplicate 2️⃣ This issue or pull request already exists label Jan 19, 2023
@drasticactions
Copy link
Contributor

Closing as a duplicate of #9743

@ghost ghost locked as resolved and limited conversation to collaborators Feb 18, 2023
@samhouts samhouts added the fixed-in-8.0.0-preview.1.7762 Look for this fix in 8.0.0-preview.1.7762! label Feb 23, 2023
@samhouts samhouts added this to the 8.0-preview1 milestone Apr 6, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-controls-tabbedpage TabbedPage fixed-in-8.0.0-preview.1.7762 Look for this fix in 8.0.0-preview.1.7762! platform/android 🤖 s/duplicate 2️⃣ This issue or pull request already exists s/verified Verified / Reproducible Issue ready for Engineering Triage t/bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

8 participants