I'm just starting with react and I have an issue with displaying a dropdown caret(arrow) in IE11. I'm using react-toolbox and it is visible in Chrome and Firefox.
After some investigation I thought it was an issue with rendering :after element in IE11 and I added
display:block
to it as in the topic here but it didn't work.
My code looks like this:
import ReactDropdown from 'react-toolbox/lib/dropdown'
<div className="row">
<div className="col-md-4" style={{ textAlign: 'left' }}>
<ReactDropdown
source={searchDropdown.map(currentValue => {
return { value: currentValue.value, label: currentValue.label}
})}
value={searchType}
onChange={value => this.setState({searchType: value})}
theme={dropdown}
/>
</div>
</div>
The structure in Chrome looks like this:
and in IE11 like this
You cannot even see :after element as in Chrome.
Any ideas?
Thank you in advance.