Closed sime closed 10 years ago
Heyo @sime I can not reproduce this issue on my mbp (OS X 10.9.1) with Firefox 27.0.
The only thing I would think about is that there is maybe something wrong with the isTouchScreen()
detection.
Is it possible that you log the value of for example console.log(defaults.startEvent);
?
>>> console.log(defaults.startEvent);
ReferenceError: defaults is not defined
isTouchScreen()
returns true. Sounds like a false positive?
If I go Tools > Responsive Design View and select 'Simulate touch events', the slider works.
Ok thanks for the info. It's definitively a problem with the isTouchScreen()
method.
Sometimes it returns true if some dev tools are open. I'll check this out if I find time.
Some thing happens on windows 8 with chrome version 33. While with the same version of chrome on osx it works.
also occur when applied with requirejs.
It's definitively a problem with the isTouchScreen()
method. It returns true on laptops that run Windows and support touch but sometimes do not have touch. So the check is wrong.
Finally made some optimizations see pr #36. Would be great if some of you guys can test it. https://github.com/andreruffert/rangeslider.js/tree/event-refactoring
Slider drags for Chrome and Safari on OS X, but not for Firefox 27.