Use native transition on drawyerLayout component

This commit is contained in:
sudheer 2018-10-19 00:48:22 +05:30
parent ceaf153875
commit 278fbe3ca9
2 changed files with 2 additions and 0 deletions

View file

@ -382,6 +382,7 @@ export default class ChannelSidebar extends Component {
onDrawerClose={this.handleDrawerClose}
onDrawerOpen={this.handleDrawerOpen}
drawerWidth={deviceWidth - openDrawerOffset}
useNativeAnimations={true}
>
{children}
</DrawerLayout>

View file

@ -358,6 +358,7 @@ export default class SettingsDrawer extends PureComponent {
onDrawerOpen={this.handleDrawerOpen}
drawerPosition='right'
drawerWidth={deviceWidth - DRAWER_INITIAL_OFFSET}
useNativeAnimations={true}
>
{children}
</DrawerLayout>