ghusse / jQRangeSlider

A jquery UI range selection slider that supports dates
http://ghusse.github.com/jQRangeSlider/
GNU General Public License v3.0
671 stars 147 forks source link

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

Open uberspeck opened 9 years ago

uberspeck commented 9 years ago

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 commented 9 years ago

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 :(

ghusse commented 9 years ago

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

uberspeck commented 9 years ago

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

ghusse commented 9 years ago

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?

ernsheong commented 8 years ago

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