Skip to content

[Violation] Added non-passive event listener to a scroll-blocking 'touchstart' event #760

Closed
@Delta1977

Description

Google Chrome - Develop Console complains about
Added non-passive event listener to a scroll-blocking 'touchstart' event. Consider marking event handler as 'passive' to make the page more responsive. See https://www.chromestatus.com/feature/5745543795965952
for function :
function cy() { var t = []; var e = { add: function(i, n, o, s) { return void 0 === s && (s = !1), i.addEventListener(n, o, s), t.push((function() { return i.removeEventListener(n, o, s) } )), e }, removeAll: function() { return t = t.filter((function(t) { return t() } )), e } };

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions