aagarwal1012/Liquid-Pull-To-Refresh

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

IkhwanSI13 opened this issue · 1 comments

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:

  • version: 1.22.6
  • channel: stable

Dart:

  • version: 2.10.5

Additional context

  • liquid_pull_to_refresh: ^2.0.0

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