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

Can't pull to refresh when swipe down on non-scrollable objects #56

Open IkhwanSI13 opened 3 years ago

IkhwanSI13 commented 3 years ago

Describe the bug The swipe refresh only works for a scrollable object like ListView, SingleChildScrollView. And if "swipe down" performed on a non-scrollable object (Container, Text), the LiquidPullToRefresh not worked.

To Reproduce Steps to reproduce the behavior:

  1. Use this code: https://gist.github.com/IkhwanSI13/c38089a2ef6853b837e10a5988ec6475
  2. Run the code
  3. Swipe down at Container Text

Expected behavior the onRefresh function of LiquidPullToRefresh runs when swiping down at Container Text.

Flutter:

Dart:

Additional context

danielRi commented 3 years ago

@IkhwanSI13 What´s your resolved version? Im having the same issue with liquidPullToRefresh 3.0.0, flutter 2.0.5. Politely bumping this.