diff --git a/src/ts/push-menu.ts b/src/ts/push-menu.ts index e9c65166b..9eab50d59 100644 --- a/src/ts/push-menu.ts +++ b/src/ts/push-menu.ts @@ -156,7 +156,7 @@ onDOMContentLoaded(() => { const target = event.currentTarget as HTMLElement const data = new PushMenu(target, Defaults) data.collapse() - }) + }, { passive: true }) sidebarOverlay.addEventListener('click', event => { event.preventDefault() const target = event.currentTarget as HTMLElement