jQRangeSlider icon indicating copy to clipboard operation
jQRangeSlider copied to clipboard

IE8: 'this.cache.click.left' is null or not an object

Open uberspeck opened this issue 10 years ago • 5 comments
trafficstars

I'm getting this error in IE8 if i try to drag a slider. It goes away if I reload the page (???). Has anyone else seen this? I've tracked it down to the _mouseDrag event of ui.rangeSliderDraggable but I'm not sure where to go from there?

Here's a plnkr of my implementation

uberspeck avatar Apr 01 '15 16:04 uberspeck

Sorry to be impatient, but if anyone has any ideas on this it would be huge help! It's kind of stopped us in our tracks for our next deploy :(

uberspeck avatar Apr 03 '15 16:04 uberspeck

Do you have both jQuery and jQuery UI up to date?

ghusse avatar Apr 07 '15 06:04 ghusse

Thank you for responding, yes both libraries are up to date. The issue is making us crazy. We've created an alternate date picker workaround for IE for now, but it would be great to get it working

uberspeck avatar Apr 08 '15 14:04 uberspeck

I don't have access to IE8 right now, but can you try to add a call to this._cacheIfNecessary() at the beginning of _mouseDrag function?

ghusse avatar Apr 08 '15 14:04 ghusse

@ghusse [Version 5.7.1] I experienced the error "Cannot read property 'offset' of null", and your previous comment fixed this issue. :+1:

ernsheong avatar Jan 14 '16 09:01 ernsheong