-
Notifications
You must be signed in to change notification settings - Fork 717
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix/segmentedControl performance (#1375)
* remove selectedSegment from dependencies * fix screen * performance fixes * remove warning * pass segment onPress only if needed * fix alignment * add setTimeout to onChangeIndex * make onPress required * Add throttle
- Loading branch information
1 parent
7b3a43c
commit b5068ab
Showing
2 changed files
with
25 additions
and
24 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
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