carbon: TypeError: Cannot use 'in' operator to search for 'onfocusin' in undefined
I’m getting an error while importing carbon components like below:
import {Modal, DataTableV2} from 'carbon-components';
TypeError: Cannot use 'in' operator to search for 'onfocusin' in undefined
at Function.init (/node_modules/carbon-components/umd/globals/js/mixins/init-component-by-event.js:61:116)
TypeError: target.querySelectorAll is not a function
at Function.init (/node_modules/carbon-components/umd/globals/js/mixins/init-component-by-event.js:61:116)
Has anyone here faced this issue while importing? Do I need to load any dependencies with this?
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Comments: 26 (13 by maintainers)
Commits related to this issue
- fix(package.json): explicitly declare support for React 15 (#442) To avoid the confusion on what React version carbon-components-react 5.x supports. — committed to joshblack/carbon by asudoh 6 years ago
- feat(icons): update app-switcher.svg at 20x20 (#442) — committed to joshblack/carbon by chrisconnors-ibm 5 years ago
- docs: update links on charts pages (#442) — committed to designertyler/carbon by alisonjoseph 5 years ago
@rehat101 You seem to still have left-aligned overflow menu. Given it’s no longer relevant to the error this issue originally describes, you may create another issue with a public site link that reproduces the flip style being ignored. Thanks!