Skip to content

Using ViewPager2 with four FlutterFragments, switching tabs after returning from onStop causes a brief white screen. #171690

@oktofinddogs

Description

@oktofinddogs

Steps to reproduce

1.Use ViewPager2 to load FlutterFragments and set the offscreenPageLimit for caching.

2.Open a secondary page or go to the home screen.

3.Return to the ViewPager2 page and switch tabs.

Expected results

Tab switching should be smooth, with no flickering or white screen.

Actual results

After all FlutterFragments are loaded, returning from the home screen or returning from a secondary page causes a brief white screen during the first tab switch.

Code sample

Code sample
[Paste your code here]

Screenshots or Video

Screenshots / Video demonstration

[Upload media here]

Logs

Logs
[Paste your logs here]

Flutter Doctor output

Doctor output
[Paste your output here]

Metadata

Metadata

Assignees

No one assigned

    Labels

    r: invalidIssue is closed as not valid

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy