File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22
33## Unreleased
44
5+ ## 3.9.8
6+
57### 🐛 Bug fixes
68
79- ** iOS** : Fixed custom grabber missing tap-to-cycle-detent behavior. ([ #571 ] ( https://github.com/lodev09/react-native-true-sheet/pull/571 ) by [ @lodev09 ] ( https://github.com/lodev09 ) )
Original file line number Diff line number Diff line change @@ -758,10 +758,12 @@ - (void)setupGrabber {
758758
759759- (void )handleGrabberTap {
760760 NSInteger detentCount = _detents.count ;
761- if (detentCount == 0 ) return ;
761+ if (detentCount == 0 )
762+ return ;
762763
763764 NSInteger currentIndex = self.currentDetentIndex ;
764- if (currentIndex < 0 ) return ;
765+ if (currentIndex < 0 )
766+ return ;
765767
766768 NSInteger nextIndex = (currentIndex + 1 ) % detentCount;
767769 if (nextIndex == 0 && detentCount == 1 && self.dismissible ) {
Original file line number Diff line number Diff line change 11{
22 "name" : " @lodev09/react-native-true-sheet" ,
3- "version" : " 3.9.7 " ,
3+ "version" : " 3.9.8 " ,
44 "description" : " The true native bottom sheet experience for your React Native Apps." ,
55 "source" : " ./src/index.ts" ,
66 "main" : " ./lib/module/index.js" ,
You can’t perform that action at this time.
0 commit comments