gvas / knockout-jqueryui

Knockout bindings for the jQuery UI widgets.
http://gvas.github.com/knockout-jqueryui/
MIT License
103 stars 38 forks source link

autoHeight: false is not working #5

Closed locopon closed 11 years ago

locopon commented 11 years ago

Wherever I use the following binding accordion: {autoHeight: false}

autoHeight is not being applied. Doing the same with direct jquery like

.accordion({ autoHeight: false })

works without any problem

Thanks

gvas commented 11 years ago

The accordion widget's autoHeight option was deprecated in jQuery UI 1.9. You should use the heightStyle: 'content' option instead.

http://jsfiddle.net/dtPEC/ - autoHeight with jQuery UI 1.8 http://jsfiddle.net/dtPEC/1/ - heightStyle with jQuery UI 1.9