You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The developer console reports the push-menu.ts files uses of touchstart as an issue as it does not allow for passive mode. This is a scroll-blocking event and makes the page less responsive. It needs {passive: true} to be added to the event listener like the following:
sidebarOverlay.addEventListener('touchstart', '{passive: true}', event => {
event.preventDefault()
const target = event.currentTarget as HTMLElement
const data = new PushMenu(target, Defaults)
data.collapse()
})
The developer console reports the
push-menu.ts
files uses oftouchstart
as an issue as it does not allow for passive mode. This is a scroll-blocking event and makes the page less responsive. It needs{passive: true}
to be added to the event listener like the following:More details on this can be found here
The text was updated successfully, but these errors were encountered: