Comments (7)
@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.
This pull request resolves the issue #802
from jquery.nicescroll.
[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.
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.
npm i tolc/jquery.nicescroll#master
install it from specific repository temporarily did the trick
from jquery.nicescroll.
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.
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)
- Respect prefers-reduced-motion: reduce
- Scrollbar in mobile HOT 1
- css scroll-snap-type compatibility HOT 2
- Middle-click scroll does not work HOT 2
- scroll event HOT 2
- niceScroll with re sizable textarea height.
- sorry nothing - was cleaning my keyboard
- overflow:hidden for body not work in nicescroll in active HOT 2
- users script for browser
- The page doesn't scroll to show search results when we use Ctrl+F to search text in page HOT 1
- Touchpad scroll on horizontal gets too hard and sticky HOT 1
- Smoothscroll
- [Webpack] - niceScroll is not a function
- Unable to preventDefault inside passive event listener due to target being treated as passive.
- Nice Scroll doesnโt work on ios
- code is wrong
- Browser search with Ctrl + f not scrolling to searched results on enter with nicescroll.
- nicescroll not working well on android Google Chrome in Samsung Galaxy fold 2
- scrollbar get wrong position
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jquery.nicescroll.