This repository has been archived by the owner on Apr 24, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 235
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix the selected item not call scrollViewDidScroll method inside scro…
…ll top bar.
- Loading branch information
Showing
1 changed file
with
8 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ac905a8
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome solution, this request should be merged, although it has one bug. When you click on a tab instead of scrolling, shouldClicked is set to YES causing the tabs to move non asynchronously once again. What i did to fix it was, reset the variable (i.e. self.shouldClicked = NO;) in the scrollViewDidEndDraggin method.
ac905a8
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi!@desnyki
Fix the bug at here(https://github.com/desnyki/ICViewPager)?
Jack