Skip to content

Commit de4301f

Browse files
committed
Sidenav destroy will reenable body scrolling
1 parent d9e844b commit de4301f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

js/sidenav.js

+1
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@
9595
*/
9696
destroy() {
9797
this._removeEventHandlers();
98+
this._enableBodyScrolling();
9899
this._overlay.parentNode.removeChild(this._overlay);
99100
this.dragTarget.parentNode.removeChild(this.dragTarget);
100101
this.el.M_Sidenav = undefined;

0 commit comments

Comments
 (0)