Giter VIP home page Giter VIP logo

Comments (11)

burnsting avatar burnsting commented on May 21, 2024

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.

inuyaksa avatar inuyaksa commented on May 21, 2024

I need to check compatibility with jquery.ui.
Thanks for your feedback.

from jquery.nicescroll.

inuyaksa avatar inuyaksa commented on May 21, 2024

I need some time to check this library conflict.
Have you try to change the order of library loading?

from jquery.nicescroll.

finbar123 avatar finbar123 commented on May 21, 2024

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.

finbar123 avatar finbar123 commented on May 21, 2024

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.

inuyaksa avatar inuyaksa commented on May 21, 2024

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.

finbar123 avatar finbar123 commented on May 21, 2024

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.

inuyaksa avatar inuyaksa commented on May 21, 2024

I'll found the problem.
I need to change touchstart/touchend trapping.
It will be fix soon.

from jquery.nicescroll.

inuyaksa avatar inuyaksa commented on May 21, 2024

version 2.3.1 "fastlane" released.
Please let me know it it works.

from jquery.nicescroll.

finbar123 avatar finbar123 commented on May 21, 2024

:) 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.

inuyaksa avatar inuyaksa commented on May 21, 2024

issue resolved

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.