Skip to content

Commit

Permalink
fix(drawer): fix responsive behavior of the drawer #76
Browse files Browse the repository at this point in the history
closes #76
  • Loading branch information
stasson committed Oct 27, 2017
1 parent f446a11 commit aff0a97
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion components/drawer/mdc-drawer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,8 @@ export default {
refreshMedia () {
this.mobile = media.mobile.matches
this.xlarge = media.xlarge.matches
if (this.xlarge && this.isPersistent) this.open()
this.xlarge && this.isPersistent && this.open()
this.mobile && this.close()
}
},
created () {
Expand Down

0 comments on commit aff0a97

Please sign in to comment.