Skip to content
This repository was archived by the owner on Jun 17, 2018. It is now read-only.

Commit 4b3e3a9

Browse files
committed
scrollViewWillBeginDragging is needed to correct determine the start of a scroll.
1 parent e86a836 commit 4b3e3a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Pod/Classes/PagingMenuController.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,7 @@ extension PagingMenuController: UIScrollViewDelegate {
324324
move(toPage: nextPage)
325325
}
326326

327-
public func scrollViewWillBeginDecelerating(_ scrollView: UIScrollView) {
327+
public func scrollViewWillBeginDragging(_ scrollView: UIScrollView) {
328328
onMove?(.didScrollStart)
329329
}
330330

0 commit comments

Comments
 (0)