Note that there are some explanatory texts on larger screens.

plurals
  1. POHorizontal iScroll issues on desktop browsers
    primarykey
    data
    text
    <p>I'm trying to implement horizontal scrolling for a desktop website using iScroll.js. Dragging is working fine, and styling is applied ok, but I'm finding issues with scrolling.</p> <p>Initially I used iScroll 4.1.7 Mousewheel not working as it should on PC's On Macs Chrome and Safari have issues with preventing native scrolling, specifically, if you the user has activated the trackpad preference: Swipe between pages, if you scroll to the left (back), it opens previous page. Firefox is scrolling OK Dragging is working fine.</p> <p>Subsequently tried v4.2.5: <a href="https://github.com/cubiq/iscroll" rel="nofollow">https://github.com/cubiq/iscroll</a> This doesn't seem to scroll or mousewheel at all on desktop browsers. Dragging works fine.</p> <p>This is how I'm trying to initialize iScroll: (as defined in the documentation here: <a href="http://cubiq.org/iscroll-4" rel="nofollow">http://cubiq.org/iscroll-4</a> )</p> <pre><code>&lt;script type="application/javascript" src="iscroll.js"&gt;&lt;/script&gt; &lt;script type="text/javascript"&gt; var myScroll; function loaded() { myScroll = new iScroll('wrapper'); } document.addEventListener('DOMContentLoaded', loaded, false); &lt;/script&gt;` </code></pre> <p>Below is a demo of:</p> <p>iScroll 4.1.7 <a href="http://anything.is/iscroll4-1-7" rel="nofollow">http://anything.is/iscroll4-1-7</a></p> <p>iScroll 4.2.5 <a href="http://anything.is/iscroll4-2-5" rel="nofollow">http://anything.is/iscroll4-2-5</a></p> <p>Any ideas if I am doing something wrong, or if these are real issues?</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload