Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Material-UI: The key container provided to the classes prop is not implemented in ForwardRef(Collapse). #334

Closed
nickraphael opened this issue Nov 26, 2020 · 1 comment

Comments

@nickraphael
Copy link

Getting this error when using 1.0.2 with MaterialUI ^5.0.0-alpha.14. Can easily reproduce with the official online demo.

Current Behavior

Material-UI: The key container provided to the classes prop is not implemented in ForwardRef(Collapse).

Steps to Reproduce

https://codesandbox.io/s/github/iamhosseindhv/notistack/tree/master/examples/redux-example?file=/package.json:276-603

Replace the dependencies with this...

"dependencies": {
"@material-ui/core": "^5.0.0-alpha.14",
"notistack": "^1.0.2",
"@emotion/react": "latest",
"@emotion/core": "^10.0.35",
"@emotion/styled": "^10.0.27",
"react": "latest",
"react-dom": "latest",
"react-redux": "latest",
"react-scripts": "latest",
"redux": "latest"
},

iamhosseindhv added a commit that referenced this issue Nov 26, 2020
@iamhosseindhv
Copy link
Owner

You can now use npm i notistack@next to have a version compatible with MUI next.

iamhosseindhv added a commit that referenced this issue Sep 26, 2021
* Closes #334 #333 - Fix collapse keys

* 1.0.3-alpha.0

* 1.0.4-alpha.0

* 1.0.6-alpha.0

* Fixes #355 - Update MUI peer dependency to next

* 1.0.6-next.0

* Use root classKey for Collapse

* 1.0.6-next.1

* Add support for Material-UI v5 beta (#418)

* upgrade to material-ui v5; modify code as recommended by the material-ui docs

* upgrade to material-ui v5; modify code as recommended by the material-ui docs

* add missing anchor classes to SnackbarItem; fix child class declarations

* update dependencies; run build

* package-lock update

* Allow passing classes from props

* Adapt new MUI breakpoints

* Bind this

* Mark emotion peerDeps as optional

* 1.0.6-next.2

Co-authored-by: Hossein Dehnokhalaji <[email protected]>

* Support @mui/material package naming (#423)

* Support Material-UI 5.0.0-rc.0

* Bump version to 1.0.6-next.3

* Remove @mui/styles dependency

* Prepare next to be published as latest (#436)

* Add tag for people on mui-v4

* Update simple example

* Update simple example

* Update redux example

* Update mobx example

* Minor

* Update next --> latest in example codes

* Update docs

* Update CHANGELOG

* Update MUI v5 peerDependencies

* Update version to v2.0.2

* Update docs.json

Co-authored-by: Joe Maffei <[email protected]>
Co-authored-by: David Ramos <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants