Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

slider on built-in browser really terrible #5204

Closed
chan15 opened this Issue · 7 comments

4 participants

Chan Jasper de Groot Jeroen van Warmerdam John Bender
Chan

JQM's slider works terrible on every browser I test except Android Chrome and Apple Safari, I was thought it's because the built-in browser has bad efficiency and bad sensitivity on drag event, but I found some framework today work slider pretty well on every mobile browser

http://dev.sencha.com/deploy/touch/examples/production/kitchensink/#demo/forms

hope JQM team could improve it, thanks a lot.

Jasper de Groot

@chan15

Can you be a bit more precise about what you tested? Do you have a test page or did you test with http://jquerymobile.com/test/docs/forms/slider/ ?
Can you name the devices and platforms/browsers (including version) you tested on?
Thanks!

Chan
Jeroen van Warmerdam

@chan15 @uGoMobi

I have to agree, on some browsers the slider is less responsive.
People keep trying again when the slider reacts slow, with frustrating results.

Tested it on Samsung Galaxy S3 (default browser -> slow, Firefox -> medium, Chrome -> fast, Opera -> medium), Samsung Galaxy Mini (default browser -> slow), Experia Arc S (default browser -> slow), iPhone 4 & 5 (Safari -> medium) and iPad 2 (Safari -> fast).

In my opinion, in the refresh method some calculations could be removed outside or done only at the beginning when the user presses the handle.

Still loving the framework dho!

Chan
Jasper de Groot

I looked into the slider widget code and saw that on vmousemove we call _preventDocumentDrag and this function calls refresh. Because the vmousemove event fires many many times when you drag the handle this could be the cause of the performance issue.

@johnbender can you weigh in here? Thanks!

John Bender

@uGoMobi

This is a performance issue. I did a quick pass when I moved the slider over to _on but we need to do something serious. If you want you can assign this one to me, and hopefully I'll get a chance to take a look at it after I get to a good place with the nav refactor.

Jasper de Groot

Closing this ticket as duplicate of #4164

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.