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

Pull Refresh setting state on each screen taps when used with CustomScrollView #69

Open
sharmaAshish-dev opened this issue Dec 6, 2022 · 2 comments

Comments

@sharmaAshish-dev
Copy link

Describe the bug
Pull Refresh setting state on each screen taps when used with CustomScrollView.
Wherever i tap on screen, it's causing whole widget tree to rebuild.

Expected behavior
Works good on Static Lists

Flutter:

  • 3.0
  • Stable
@siunus
Copy link

siunus commented Oct 17, 2023

This happened to me.
When the scroll is in the top position, every time I tap on the screen several images or icons blink.
But this doesn't happen if the screen position is scrolled a few pixels down.

I wrapped SingleChildScrollView with LiquidPullToRefresh.
Is there something wrong?

body: LiquidPullToRefresh(
        onRefresh: _onRefresh,
        showChildOpacityTransition: false,
        springAnimationDurationInMilliseconds: 500,
        height: 50,
        color: colors.bgPrimary,
        backgroundColor: colors.primary,
        child: SingleChildScrollView(
          physics: const ScrollPhysics(),
          child: Column(
            children: []
),
),
),

@Luvain9
Copy link

Luvain9 commented Apr 11, 2024

Hello same issue here. When showChildOpacityTransition=true and I press the screen on top position it get's dark transparent giving a flickering effect.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants