Comments (11)
You might also want to look at the overflow scrolling support in iOS 5.
-webkit-overflow-scrolling: touch;
I use native scrolling on iOS devices.
from jquery.nicescroll.
I need to check compatibility with jquery.ui.
Thanks for your feedback.
from jquery.nicescroll.
I need some time to check this library conflict.
Have you try to change the order of library loading?
from jquery.nicescroll.
No problem I will change order. / have sorted out a temp solution as well so
that I don't need the other library
-----Original Message-----
From: Inuyaksa
[mailto:reply+i-2283177-53ebc01f696a45010861983796bf320806fad302-1205021@rep
ly.github.com]
Sent: 20 November 2011 14:29
To: finbar123
Subject: Re: [jquery.nicescroll] Tap on Ipad disabled (#7)
I need some time to check this library conflict.
Have you try to change the order of library loading?
Reply to this email directly or view it on GitHub:
#7 (comment)
from jquery.nicescroll.
Hi
Yes your suggestion was exactly what I needed.
I have however run into a stumbling block with the IPAD where the touch
function doesn't seem to fire on the IPAD.
My html is
<title>Untitled Page</title> <style type="text/css"> body { background-color: #F0F0F0; color: #000000; } </style> <style type="text/css"> a:active { color: #0000FF; } </style> <script src="http://code.jquery.com/jquery-latest.pack.js"></script> <script src="page3.js"></script>And my jquery is
$(document).ready(function() {
$('[title=tap]').bind("tap",function () { alert ('Tapped'); });
$('[title=tap]').live("click",function () { alert ('Clicked'); });
//$('[title=tap]').live("touchstart",function () { alert ('Started'); });
})
So just one div with some other divs inside, scroll on the outer div and tap
on the inner ones
On the IPAd the "tap" doesn't seem to fire, but if I change it to touchstart
it does the problem being that messes up my nice scroll capability.
Live example at http://jpci.ag-itechnology.com/job/test/page3.html
Any ideas of what's going wrong
Thanks
Finbar
-----Original Message-----
From: bornst
[mailto:reply+i-2283177-53ebc01f696a45010861983796bf320806fad302-1205021@rep
ly.github.com]
Sent: 18 November 2011 18:58
To: finbar123
Subject: Re: [jquery.nicescroll] Tap on Ipad disabled (#7)
You might also want to look at the overflow scrolling support in iOS 5.
-webkit-overflow-scrolling: touch;
I use native scrolling on iOS devices.
Reply to this email directly or view it on GitHub:
#7 (comment)
from jquery.nicescroll.
Thanks, I'll test you code.
Which library do you use for gain "tap" event? This one the "jquerymobile.com" library ?
Do you try to use bind function instead live one for "touchstart" event?
The function live binds event at document level, but "bind" function works at element level.
I think using live function can break event bubbling, in this situation.
from jquery.nicescroll.
I am just using http://code.jquery.com/jquery-latest.pack.js library
I will try the bind option
Touchstart works but not Tap when the div is inside another div
-----Original Message-----
From: Inuyaksa
[mailto:reply+i-2283177-53ebc01f696a45010861983796bf320806fad302-1205021@rep
ly.github.com]
Sent: 24 November 2011 22:47
To: finbar123
Subject: Re: [jquery.nicescroll] Tap on Ipad disabled (#7)
Thanks, I'll test you code.
Which library do you use for gain "tap" event? This one the
"jquerymobile.com" library ?
Do you try to use bind function instead live one for "touchstart" event?
The function live binds event at document level, but "bind" function works
at element level.
I think using live function can break event bubbling, in this situation.
Reply to this email directly or view it on GitHub:
#7 (comment)
from jquery.nicescroll.
I'll found the problem.
I need to change touchstart/touchend trapping.
It will be fix soon.
from jquery.nicescroll.
version 2.3.1 "fastlane" released.
Please let me know it it works.
from jquery.nicescroll.
:) yes this looks like it works find
Many Thanks
Finbar
-----Original Message-----
From: Inuyaksa
[mailto:reply+i-2283177-53ebc01f696a45010861983796bf320806fad302-1205021@rep
ly.github.com]
Sent: 25 November 2011 21:13
To: finbar123
Subject: Re: [jquery.nicescroll] Tap on Ipad disabled (#7)
version 2.3.1 "fastlane" released.
Please let me know it it works.
Reply to this email directly or view it on GitHub:
#7 (comment)
from jquery.nicescroll.
issue resolved
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
- ERROR: [Intervention] Unable to preventDefault .......... HOT 7
- 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.