Things are collapsing with flexbox
Browsers: IE 10, 11
Bug: flex: 1
Fix: flex: 1 auto
Explanation: https://roland.codes/blog/ie-flex-collapse-bug/
Turns out this was a red herring. The actual bug is that IE 10-11 treats flex-basis as an absolute height when all flex items are flexible. And since the default value for flex-basis is 0px when using flex, the elements end up being 0px high. The solution is to explicitly set the flex-basis to auto (e.g flex: 1 1 auto) or use the separate properties (e.g: flex-grow: 1). If you need to use a flex-basis in this kind of layout, you should be able to use min-height or max-height to achieve the same result.
Event.target
Browsers: Older IE browsers
Fix: var target = event ? event.target : window.event.srcElement;
Explanation: https://developer.mozilla.org/en-US/docs/Web/API/Event/srcElement
Event.srcElement
is a proprietary alias for the standardEvent.target
property. It is specific to old versions of Microsoft Internet Explorer.