iosscripts / iosslider

iosslider is a jQuery plugin which allows you to integrate a customizable, cross-browser content slider into your web presence. Designed for use as a content slider, website banner, or image gallery.
http://iosscripts.com/iosslider
432 stars 103 forks source link

Disabling OS swipe/scroll when implementing mousewheel support. #357

Open meredevelopment opened 8 years ago

meredevelopment commented 8 years ago

Hi, I'm using version 1.3.43 of iosSlider with https://github.com/jquery/jquery-mousewheel as described in this issue: https://github.com/iosscripts/iosslider/issues/58 .

When using a magic mouse or trackpad in MacOS (Windows users, does it happen for you too?) and swiping/scrolling left or right the browser wants to go forward or back a page. This can be disabled in the OS, but of course I can't globally disable this for site visitors :)

When scrolling in an element that 'should' scroll, the browser is fine, for example a DIV with overflowing content and 'overflow: auto' set.

So... can you think of any way that I can make the Browser/OS think the area is actually scrollable?