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

Getting console warnings when using with lastest MaterialUI alpha release. (^5.0.0-alpha.14) #332

Closed
nickraphael opened this issue Nov 24, 2020 · 2 comments

Comments

@nickraphael
Copy link

I'm getting a whole bunch of console warnings when calling notistack with MaterialUI "^5.0.0-alpha.14"

Warning: Unknown event handler property onEntering. It will be ignored.
Warning: Unknown event handler property onExiting. It will be ignored.

Expected Behavior

no warnings

Current Behavior

I'm getting a whole bunch of console warnings when calling notistack with MaterialUI "^5.0.0-alpha.14"

Warning: Unknown event handler property onEntering. It will be ignored.
Warning: Unknown event handler property onExiting. It will be ignored.

Steps to Reproduce

use the following dependancies in the demo...

https://codesandbox.io/s/github/iamhosseindhv/notistack/tree/master/examples/simple-example?%3Fhidenavigation=1&module=/App.js&file=/package.json:813-1142

"dependencies": {
"@material-ui/core": "^5.0.0-alpha.14",
"@emotion/react": "latest",
"@emotion/core": "^10.0.35",
"@emotion/styled": "^10.0.27",
"clsx": "^1.1.0",
"notistack": "latest",
"prop-types": "latest",
"react": "latest",
"react-dom": "latest"
}

@iamhosseindhv
Copy link
Owner

Same as #295. Will be fixed soon. PRs welcome

@iamhosseindhv
Copy link
Owner

Please update to v1.0.2. Let me know if the issue persists.

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