I have created React.Portal
with some inline styles, which are not rendered at all in Internet Explorer.
This is my component.
const {
x, y, height, width,
} = popupAnchorRef.getBoundingClientRect();
return ReactDOM.createPortal(
<div
ref={popupRef}
>
<div
role="presentation"
className={popupAnchorStyle}
style={{
left: x,
top: topPositionAnchor,
}}
/>
<div
className={popupStyle}
style={styleForPopupPosition}
>
<PopupContents alias={alias} handleClosePopup={handleClosePopup} />
</div>
</div>
,
document.body,
);
};
And I have this meta in html <meta http-equiv="X-UA-Compatible" content="IE=edge">
Note: Inline Styles are working on any other component.