aagarwal1012 / Liquid-Pull-To-Refresh

🔁 A custom refresh indicator for flutter.
https://pub.dev/packages/liquid_pull_to_refresh
MIT License
1.24k stars 92 forks source link

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

Open sharmaAshish-dev opened 1 year ago

sharmaAshish-dev commented 1 year ago

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:

siunus commented 9 months ago

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 commented 3 months ago

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