Shopify/batman — pull request #671 by nickjs (2013-03-15 18:50:00+00:00)
Title: IE Select Binding Fixes

@cjoudrey (pairing); @kristianpd @hornairs

This mainly does two things:
1. Turns out
elements are actually supposed to be updated via the `text` property as opposed to `innerHTML`. IE is the only browser that actually enforces this. To fix IE, we simply set
elements' `text` property in addition to their `innerHTML`.

2. Even after updating your
elements correctly, IE is still pretty stingy about redrawing them. We add a bit of a CSS hack to force the width to `100%` and then back to its original setting after all of the options have been added (via another hacky debounce). This forces IE to redraw the select element at the correct width. Definitely open to better mechanisms with which to do this action.