IE7 & IE8: Text fields within a parent with opacity filter show no text #3552
+3
−3
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Seems there is a bug in IE<9 where text fields (and textareas) that are in a container which has
filter: alpha(opacity=[number]);
applied are not re-rendered when being typed in.Curiously enough, if you move your mouse out of the parent with the filter, the text will magically appear / update.
A straightforward use case where this happens is having a form inside a fade-in modal, as the
.fade.in
class hasfilter: alpha(opacity=100);
. When you type, nothing will come up (but you can see the text cursor moving), and if you move the mouse into the overlay area, the text will appear/update.Here is a test page:
http://www.cactilio.com/bootstrap-filter-test.html
A fix would be to not use a filter in IE<9 for
.fade.in
. It doesn't really give anything for IE<9 as the modals just pop-in and have no fading animation anyway!