We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 35071cb commit 85fe725Copy full SHA for 85fe725
Sources/UBottomSheet/Classes/UBottomSheetCoordinator.swift
@@ -494,7 +494,7 @@ public class UBottomSheetCoordinator: NSObject {
494
- parameter currentPosition: current top constraint value of container view
495
*/
496
private func filteredPositions(_ velocity: CGPoint, currentPosition: CGFloat) -> [CGFloat] {
497
- if velocity.y < 100 { /// dragging up
+ if velocity.y < -100 { /// dragging up
498
let data = dataSource.sheetPositions(availableHeight).filter { (p) -> Bool in
499
p < currentPosition
500
}
0 commit comments