Use native transition on drawyerLayout component
This commit is contained in:
parent
ceaf153875
commit
278fbe3ca9
2 changed files with 2 additions and 0 deletions
|
|
@ -382,6 +382,7 @@ export default class ChannelSidebar extends Component {
|
|||
onDrawerClose={this.handleDrawerClose}
|
||||
onDrawerOpen={this.handleDrawerOpen}
|
||||
drawerWidth={deviceWidth - openDrawerOffset}
|
||||
useNativeAnimations={true}
|
||||
>
|
||||
{children}
|
||||
</DrawerLayout>
|
||||
|
|
|
|||
|
|
@ -358,6 +358,7 @@ export default class SettingsDrawer extends PureComponent {
|
|||
onDrawerOpen={this.handleDrawerOpen}
|
||||
drawerPosition='right'
|
||||
drawerWidth={deviceWidth - DRAWER_INITIAL_OFFSET}
|
||||
useNativeAnimations={true}
|
||||
>
|
||||
{children}
|
||||
</DrawerLayout>
|
||||
|
|
|
|||
Loading…
Reference in a new issue