Skip to content
This repository has been archived by the owner on Sep 13, 2020. It is now read-only.

Commit

Permalink
Merge pull request #372 from pm0u/patch-1
Browse files Browse the repository at this point in the history
Update Readme
  • Loading branch information
Naturalclar committed May 28, 2020
2 parents f62289a + a60d87b commit 10eaac9
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion README.md
Expand Up @@ -18,7 +18,7 @@ npm install react-native-side-menu --save

### Usage example
```javascript
const SideMenu = require('react-native-side-menu');
import SideMenu from 'react-native-side-menu'

class ContentView extends React.Component {
render() {
Expand Down Expand Up @@ -81,5 +81,18 @@ class Application extends React.Component {

On iPhone, the scroll-to-top gesture has no effect if there is more than one scroll view on-screen that has scrollsToTop set to true. Since it defaults to `true` in ReactNative, you have to set `scrollsToTop={false}` on your ScrollView inside `Menu` component in order to get it working as desired.

#### The swipe animation is extremely slow

Try disabling remote JS debugging (from developer menu on phone/VD)

#### My SideMenu contents are visible even when the side menu is hidden

Ensure that your main view has a background color applied

```
<Sidemenu menu={menu}>
<App style={{backgroundColor='white'}} />
</SideMenu>
```
### Questions?
Feel free to contact me in [twitter](https://twitter.com/kureevalexey) or [create an issue](https://github.com/Kureev/react-native-side-menu/issues/new)

0 comments on commit 10eaac9

Please sign in to comment.