question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

RadioButton - Unknown event handler property `onExited` & received `true` for a non-boolean attribute `in`

See original GitHub issue

Expected 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:closed
  • Created 6 years ago
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

8reactions
wentsacommented, Feb 26, 2018

Ok, I found where is the problem: You (and me) are using react-transition-group version 2.x.x while material-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 from material-ui:

"dependencies": {
    ...
    "react-transition-group": "^1.2.1",
    ...
  }
4reactions
quirimmocommented, Feb 4, 2018

Any solution to this @tomanagle pls? Having the same with RaisedButton

Read more comments on GitHub >

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

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found