Removes unnecessary important in VerticalLayout_IE9#32
Removes unnecessary important in VerticalLayout_IE9#32jaszczw wants to merge 1 commit intobywo:masterfrom
Conversation
…9 and VerticalLayout
|
@jaszczw thanks for this. could you explain how to repro the issue that this fixes? I believe we still need that |
|
@byronmwong I see your point but facebook/react#1881 tldr;
So currently !important just isn't applied at all, unless we add some specific hacks.
I have been trying to test library in IE9 and saw that there are no styles applied to VLayout. |
|
ah man, didn't know React had that limitation :( okay, I think a better fix would be to apply another class name to the element, for example That way, we work around the React limitation but still override |
Fixes issue for IE9 as style.display = 'table !important' was omitted when passing styles as props due to the fact it's an inline style so it takes precedence nevertheless without the need of important.