modal_bottom_sheet
modal_bottom_sheet copied to clipboard
fix: Revert removal of hasReachedWillPopThreshold check on drag end
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