Giter VIP home page Giter VIP logo

Comments (7)

andreweberle avatar andreweberle commented on June 13, 2024 1

@zdimaz This is a bit hacky however if you got to line 2903 in jquery.nicescroll.js you can comment out the error line.

`var chk = doScrollRelative(px, py, chkscroll, true);

        if (chk) {
            if (chkscroll) hasparentscrollingphase = true;
        } else {
            hasparentscrollingphase = false;
            e.stopImmediatePropagation();
            //e.preventDefault()
            return;
        }`

from jquery.nicescroll.

Shaveyy avatar Shaveyy commented on June 13, 2024

This pull request resolves the issue #802

from jquery.nicescroll.

zdimaz avatar zdimaz commented on June 13, 2024

[Chrome] Unable to preventDefault inside passive event listener due to target being treated as passive.

Bugs not fix ((((
CRY CRY CRY (
Help bro pls

from jquery.nicescroll.

nftstudio avatar nftstudio commented on June 13, 2024

You Can search Code:
(passiveSupported && active) ? el.addEventListener(name, fn, { passive: false, capture: bubble }) : el.addEventListener(name, fn, bubble || false);
Then Changed it:
(passiveSupported && (active || el == window.document || el == window.document.body || el == window)) ? el.addEventListener(name, fn, { passive: false, capture: bubble }) : el.addEventListener(name, fn, bubble || false);

And Enjoy !

from jquery.nicescroll.

kidzen avatar kidzen commented on June 13, 2024

npm i tolc/jquery.nicescroll#master

install it from specific repository temporarily did the trick

from jquery.nicescroll.

enzedonline avatar enzedonline commented on June 13, 2024

Using the min.js, it's coming from b>k - comment out the last two lines of that:

          z(r, i, t, !0)
            // ? void (t && (q = !0))
            // : ((q = !1), e.stopImmediatePropagation(), e.preventDefault())
            )

from jquery.nicescroll.

dopeabeam2 avatar dopeabeam2 commented on June 13, 2024

Using the min.js, it's coming from b>k - comment out the last two lines of that:

          z(r, i, t, !0)
            // ? void (t && (q = !0))
            // : ((q = !1), e.stopImmediatePropagation(), e.preventDefault())
            )

Please fix my issues am getting those. seeing errors on http://dopenews.in You can check i tried to use 3.7.6 version but i cant reload by site cant even scroll wih this version so am using 3.5.1 version but there is an error please check that

from jquery.nicescroll.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.