@lodev09/react-native-true-sheet 4.0.0-beta.12 → 4.0.0-beta.13

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.
@@ -181,6 +181,10 @@ using namespace facebook::react;
181
181
  return;
182
182
 
183
183
  UIEdgeInsets contentInset = _detectedScrollView.scrollView.contentInset;
184
+ if (fabs(contentInset.bottom - inset) < 0.001) {
185
+ return;
186
+ }
187
+
184
188
  contentInset.bottom = inset;
185
189
  _detectedScrollView.scrollView.contentInset = contentInset;
186
190
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lodev09/react-native-true-sheet",
3
- "version": "4.0.0-beta.12",
3
+ "version": "4.0.0-beta.13",
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",