diff --git a/README.md b/README.md index 8b8ac84..9a87376 100644 --- a/README.md +++ b/README.md @@ -44,7 +44,7 @@ Check [index.js](https://github.com/maxs15/react-native-modalbox/blob/master/Exa | startOpen | false | `bool` | Allow modal to appear open without animation upon first mount | | coverScreen | false | `bool` | Will use RN `Modal` component to cover the entire screen wherever the modal is mounted in the component hierarchy | | keyboardTopOffset | ios:22, android:0 | `number` | This property prevent the modal to cover the ios status bar when the modal is scrolling up because the keyboard is opening | -| useNativeDriver | false | `bool` | Enables the hardware acceleration to animate the modal. Please note that enabling this can cause some flashes in a weird way when animating | +| useNativeDriver | true | `bool` | Enables the hardware acceleration to animate the modal. Please note that enabling this can cause some flashes in a weird way when animating | ## Events diff --git a/index.js b/index.js index 2d7b970..4742558 100644 --- a/index.js +++ b/index.js @@ -85,7 +85,7 @@ var ModalBox = createReactClass({ easing: Easing.elastic(0.8), coverScreen: false, keyboardTopOffset: Platform.OS == 'ios' ? 22 : 0, - useNativeDriver: false + useNativeDriver: true }; },