Skip to content

Commit d6b4087

Browse files
committed
chore: release 3.9.8
1 parent b6bf402 commit d6b4087

3 files changed

Lines changed: 7 additions & 3 deletions

File tree

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
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))

ios/TrueSheetViewController.mm

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff 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) {

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
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",

0 commit comments

Comments
 (0)