ionic-framework icon indicating copy to clipboard operation
ionic-framework copied to clipboard

bug: In IE11 the mouseWheel scroll doesn't work.

Open GauSim opened this issue 11 years ago • 3 comments

Type: bug

Platform: all

In IE11 the mouseWheel Scroll doesn't work. But the ClickPull-Scroll works fine. as you can see by opening http://codepen.io/ionic/pen/mwFuh in IE11. I know everybody hates IE, but it was in our target :) 1. I think the "Mouse Events" dont get assigned in IE11 because the "Pointer Events"-elseif-case is performed and assigned.
I found a dirty fix. I allways assign the "Mouse Events". :)

Well, but now i found a second bug. In IE11 there is no "e.wheelDeltaY" property. In IE11 its called: "e.wheelDelta" (without the Y) so to perform the scroll i modified the mouseWheel-Function like this: ... self.scrollBy( (e.wheelDeltaX || e.deltaX || 0) / self.options.wheelDampen, (-e.wheelDeltaY || e.deltaY || -e.wheelDelta || 0) / self.options.wheelDampen
); ...

this works fine.

maybe you can update this thanks. Simon

GauSim avatar Feb 12 '15 15:02 GauSim

We'll be pulling in this PR soon which should fix this issue: https://github.com/driftyco/ionic/commit/f89cf7005be14e9c02ae48e1b87519e5d09fba8d

adamdbradley avatar Feb 13 '15 02:02 adamdbradley

cool thx.

GauSim avatar Feb 13 '15 08:02 GauSim

Should be fixed in the nightly builds now, thanks

adamdbradley avatar Feb 13 '15 15:02 adamdbradley