store the new options to fix handleSize undefined

This commit is contained in:
grafixeyehero
2022-04-13 02:47:49 +03:00
parent 7546b05297
commit be609351ef
+2 -1
View File
@@ -334,7 +334,8 @@ class NavigationDrawer {
}
initialize() {
const options = Object.assign(this.defaults, this.options || {});
const options = Object.assign({}, this.defaults, this.options || {});
this.options = options;
if (browser.edge) {
options.disableEdgeSwipe = true;