Search and Top Navigation
#6750 closed bug (fixed)
Opened December 15, 2010 10:08AM UTC
Closed June 12, 2012 01:02PM UTC
IE8 problem with slider (animate: true; orientation: vertical)
Reported by: | bigor | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | 1.8.7 |
Component: | ui.slider | Version: | 1.8.7 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
slider_filter_floor.slider({
range: true,
min: 0,
max: total - 1,
step: 1,
animate: true,
orientation: 'vertical',
slide: function(event, ui) { setFloorText(slider_filter_floor, ui); }
});
if orientation is set to vertical and animate to true then next line od code does not work in IE
slider_filter_floor.slider("values", 0, currentMin);
this method calls jquery animate method and e.cur() returns 0, so start is NaN. In FF e.cur() returns 1 and everything works ok.
animate: function( prop, speed, easing, callback ) {
...
jQuery.style( self, name, (end || 1) + unit);
start = ((end || 1) / e.cur()) * start;
jQuery.style( self, name, start + unit);
...
Filed a bug against jQuery core: http://bugs.jquery.com/ticket/8158