@lodev09/react-native-true-sheet 3.9.8 → 3.9.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -624,6 +624,7 @@ class TrueSheetViewController(private val reactContext: ThemedReactContext) :
624
624
 
625
625
  isSheetVisible = false
626
626
  wasHiddenByScreen = true
627
+ backCallback?.isEnabled = false
627
628
 
628
629
  dimViews.forEach { it.animate().alpha(0f).setDuration(SCREEN_FADE_DURATION).start() }
629
630
  sheet.animate()
@@ -643,6 +644,7 @@ class TrueSheetViewController(private val reactContext: ThemedReactContext) :
643
644
  setSheetVisibility(true)
644
645
  sheetView?.alpha = 1f
645
646
  updateDimAmount(animated = true)
647
+ backCallback?.isEnabled = true
646
648
  }
647
649
 
648
650
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lodev09/react-native-true-sheet",
3
- "version": "3.9.8",
3
+ "version": "3.9.9",
4
4
  "description": "The true native bottom sheet experience for your React Native Apps.",
5
5
  "source": "./src/index.ts",
6
6
  "main": "./lib/module/index.js",