jquery-ui-extensions
jquery-ui-extensions copied to clipboard
Wrapper height/width for unattached sliders
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%" ); }
.ui-effects-wrapper{overflow-x: visible !important; width: 100% !important; }