SteveSanderson/knockout — pull request #839 by mbest (2013-03-16 02:50:07+00:00)
Title: Conditionally included select gets close to zero width in IE7-8

Wrapping a ``, with an `options`-binding, in an element with an `if`-binding makes the drop down list very narrow in IE7 and IE8. In IE7, it's also practically impossible to make a selection. It worked as expected in 2.1.0, but is broken in 2.2.0 and 2.2.1.

It appears pretty irregularly, and including a second element in the wrapper can magically fix the first one. As a temporary workaround, I've applied a `width: auto` CSS-style to the element. (Once the width has been fixed, it appears as if the style declaration can be removed.)

JS Bin that demonstrates the problem: http://jsbin.com/uqugar/1