From 9dbae83bd72fbe8aa1bb80de6c96abf0b035e677 Mon Sep 17 00:00:00 2001 From: charles Date: Sun, 12 Jan 2020 11:45:02 -0500 Subject: [PATCH] dual-drawer fix issue #1383 --- js/drawer.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/js/drawer.js b/js/drawer.js index a3e17d31..b318dade 100644 --- a/js/drawer.js +++ b/js/drawer.js @@ -89,6 +89,9 @@ const Drawer = ($ => { return; } + + $(".bmd-layout-drawer").hide(); + this.$element.show(); this.$toggles.attr("aria-expanded", true); this.$element.attr("aria-expanded", true); this.$element.attr("aria-hidden", false); @@ -109,6 +112,9 @@ const Drawer = ($ => { return; } + + $(".bmd-layout-drawer").hide(); + this.$element.show(); this.$toggles.attr("aria-expanded", false); this.$element.attr("aria-expanded", false); this.$element.attr("aria-hidden", true);