react-checkbox-tree icon indicating copy to clipboard operation
react-checkbox-tree copied to clipboard

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

Open progenysw opened this issue 4 years ago • 2 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

progenysw avatar Feb 26 '21 12:02 progenysw

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">

apurva1112 avatar Mar 05 '21 14:03 apurva1112

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

jakezatecky avatar Mar 05 '21 15:03 jakezatecky