RadioButton - Unknown event handler property `onExited` & received `true` for a non-boolean attribute `in`
See original GitHub issueExpected Behavior
Radio input animations should not be dark disappear when the animation finished
Current behavior
Radio buttons throw two warnings to the console and the animations do not finish, leaving a dark circle around the selected radio input.
Steps to Reproduce (for bugs)
<RadioButtonGroup
valueSelected="test radio"
name={'test'}
>
<RadioButton
value="test radio"
label="test radio"
/>
<RadioButton
value="test 2 radio"
label="test radio"
/>
</RadioButtonGroup>
When I click the radio buttons, I get the following warning in the console.
[warning.js:33 Warning: Unknown event handler property `onExited`. It will be ignored.
in div (created by CircleRipple)
in CircleRipple
in div (created by TransitionGroup)
in TransitionGroup (created by TouchRipple)
in div (created by TouchRipple)
in TouchRipple (created by EnhancedSwitch)
in div (created by EnhancedSwitch)
in div (created by EnhancedSwitch)
in div (created by EnhancedSwitch)
in EnhancedSwitch (created by RadioButton)
in RadioButton (created by RadioButtonGroup)
in div (created by RadioButtonGroup)
in RadioButtonGroup (created by BenchmarkingSurveyPage)
in div (created by BenchmarkingSurveyPage)
in BenchmarkingSurveyPage (created by Connect(BenchmarkingSurveyPage))
in Connect(BenchmarkingSurveyPage) (created by Route)
in Route (created by PrivateRoute)
in PrivateRoute
in Switch
in div
in Router
in MuiThemeProvider
in div
in Provider
&&
warning.js:33 Warning: Received `true` for a non-boolean attribute `in`.
If you want to write it to the DOM, pass a string instead: in="true" or in={value.toString()}.
in div (created by CircleRipple)
in CircleRipple
in div (created by TransitionGroup)
in TransitionGroup (created by TouchRipple)
in div (created by TouchRipple)
in TouchRipple (created by EnhancedSwitch)
in div (created by EnhancedSwitch)
in div (created by EnhancedSwitch)
in div (created by EnhancedSwitch)
in EnhancedSwitch (created by RadioButton)
in RadioButton (created by RadioButtonGroup)
in div (created by RadioButtonGroup)
in RadioButtonGroup (created by BenchmarkingSurveyPage)
in div (created by BenchmarkingSurveyPage)
in BenchmarkingSurveyPage (created by Connect(BenchmarkingSurveyPage))
in Connect(BenchmarkingSurveyPage) (created by Route)
in Route (created by PrivateRoute)
in PrivateRoute
in Switch
in div
in Router
in MuiThemeProvider
in div
in Provider
The radio buttons also get dark circles around them. It’s as though the ripple effect has a fill of rgba(0, 0, 0, 0.87); and never gets removed after the animation.
Screenshot: https://i.imgur.com/RTgn8DN.jpg
Your Environment
Windows 10, using Chrome 63.0.3239.132.
Issue Analytics
- State:
- Created 6 years ago
- Comments:5 (1 by maintainers)
Top Results From Across the Web
RadioButton - Unknown event handler property `onExited ...
RadioButton - Unknown event handler property onExited & received true for a non-boolean attribute in #9886.
Read more >Warning: Unknown event handler property `onHeaderClick`. It ...
This basically happens when you pass a prop with a name starting with on , regardless of its case. React assumes and tries...
Read more >How to fix the 'Received "true" for a non-boolean attribute' error
How to fix Received 'true' for a non-boolean attribute error when using styled-components or emotion.
Read more >User Scripting - NetSuite OpenAir
This document in any form, software or printed matter, contains proprietary information that is the exclusive property of Oracle. Your access to ...
Read more >mozilla-release: changeset 589021 ...
Expected an event responder, but instead got %s', ... Did you misspell the property assignment?', name || 'Unknown'); + } + + if...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Ok, I found where is the problem: You (and me) are using
react-transition-group
version2.x.x
whilematerial-ui
is dependent on version^1.2.1
. Those two are unfortunately backwards incompatible (react-transition-group). Therefore you have to downgrade your dependency to be the same as the one frommaterial-ui
:Any solution to this @tomanagle pls? Having the same with
RaisedButton