Skip to content

Commit 53fee18

Browse files
committed
Merge pull request #156 from xmartlabs/fix/userInteraction
fixed issue when user tapped button and scrolled vastly and the bar s…
2 parents c8bcc9a + 0fb6e8c commit 53fee18

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Sources/PagerTabStripViewController.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,7 @@ public class PagerTabStripViewController: UIViewController, UIScrollViewDelegate
140140
containerView.setContentOffset(CGPointMake(pageOffsetForChildIndex(index: index), 0), animated: true)
141141
}
142142
else {
143+
(navigationController?.view ?? view).userInteractionEnabled = false
143144
containerView.setContentOffset(CGPointMake(pageOffsetForChildIndex(index: index), 0), animated: animated)
144145
}
145146
}

0 commit comments

Comments
 (0)