cubiq / iscroll

Smooth scrolling for the web
http://iscrolljs.com
MIT License
12.87k stars 3.8k forks source link

A little bug in IScroll-zoom.js #1114

Open Eva-F opened 7 years ago

Eva-F commented 7 years ago

At line 1256 should be

} else if ('detail' in e) { wheelDeltaY = -e.detail / Math.abs(e.detail ); }

instead of

} else if ('detail' in e) { wheelDeltaY = -e.detail / Math.abs(e.wheelDelta); }

Eva