modal_bottom_sheet icon indicating copy to clipboard operation
modal_bottom_sheet copied to clipboard

fix: Revert removal of hasReachedWillPopThreshold check on drag end

Open marcsanny opened this issue 2 years ago • 0 comments

Removal of this check produced unwanted onWillPop calls on drag end even if the threshold was not reached.

This should fix:

  • https://github.com/jamesblasco/modal_bottom_sheet/issues/229#issue-1176894265
  • https://github.com/jamesblasco/modal_bottom_sheet/issues/230#issue-1181064170 And maybe:
  • https://github.com/jamesblasco/modal_bottom_sheet/issues/233#issue-1183181552

marcsanny avatar May 20 '22 08:05 marcsanny