jquery-ui-extensions icon indicating copy to clipboard operation
jquery-ui-extensions copied to clipboard

Wrapper height/width for unattached sliders

Open kalayda opened this issue 11 years ago • 1 comments

If applying labeledslider to a div, which is not yet inserted in DOM, value of width (or height for vertical slider) for wrapping div set to 0, causing wrong labeledslider view. It is because width/height has taken from css of slider, that is 0 until slider will be inserted in DOM. To fix this issue you can set width/height to 100% instead of taking a value from css. if ( this.orientation == 'horizontal' ) { this.uiSlider .width( "100%" ); } else { this.uiSlider .height( "100%" ); }

kalayda avatar Mar 23 '14 18:03 kalayda

.ui-effects-wrapper{overflow-x: visible !important; width: 100% !important; }

dchuquilla avatar Jan 23 '15 00:01 dchuquilla