jakezatecky / react-checkbox-tree

A simple and elegant checkbox tree for React.

Home Page:https://jakezatecky.github.io/react-checkbox-tree/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Icons not showing correctly both in Explorer and Chrome in any settings

progenysw opened this issue · comments

Describe the bug
In Chrome ,can only see plan black outlines where the checkboxes/icons shd be . In Explorer, cant the

Reproduction steps
Have tried this

import CheckboxTree from 'react-checkbox-tree';
import 'react-checkbox-tree/lib/react-checkbox-tree.css';
<CheckboxTree
nodes={this.state.nodes}
checked={checked}

                                expanded={expanded}
                                onCheck={this.onCheck}
                                onExpand={this.onExpand}
                                showExpandAll={true}
                                nativeCheckboxes={true}
                            />

and
fa5 and nativeCheckboxes=false
Have also installed the latest FA set manually .
No compile warnings

Expected behavior
I would expect to see colored, correct checkboxes
Screenshots
I
image
image

I had the same problem. Added below code in my html file and it worked.
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css">

As noted, including a link to the CDN should work (including with iconsClass="fa5"). Please link to a live email if you still have this issue.