diff --git a/README.md b/README.md index b24e2cc..675e6a5 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ - Smooth Animation - Add Your own Component To Bottom Sheet - Customize Whatever You Like -- Support Gesture Swipe Down +- Support Swipe Down Gesture - Support All Orientations - Support Both Android And iOS @@ -77,7 +77,7 @@ export default Example; | height | number | Height of Bottom Sheet | 260 | | minClosingHeight | number | Minimum height of Bottom Sheet before close | 0 | | duration | number | Duration of Bottom Sheet animation | 300 (ms) | -| closeOnSwipeDown | boolean | Use gesture swipe down to close Bottom Sheet | true | +| closeOnSwipeDown | boolean | Use gesture swipe down to close Bottom Sheet | false | | closeOnPressMask | boolean | Press the area outside to close Bottom Sheet | true | | onClose | function | Callback function when Bottom Sheet has closed | | | customStyles | object | Custom style to Bottom Sheet | {} | diff --git a/src/index.js b/src/index.js index 042a35f..8310de2 100644 --- a/src/index.js +++ b/src/index.js @@ -132,7 +132,7 @@ RBSheet.defaultProps = { height: 260, minClosingHeight: 0, duration: 300, - closeOnSwipeDown: true, + closeOnSwipeDown: false, closeOnPressMask: true, customStyles: {} };