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

Dialog animations: Cannot read property 'componentWillEnter' of undefined #3547

Closed
rachael opened this issue Mar 1, 2016 · 1 comment
Closed
Labels
component: dialog This is the name of the generic UI component, not the React module!

Comments

@rachael
Copy link

rachael commented Mar 1, 2016

Problem Description

I have a Dialog in the view called Dashboard inside the render() function as so:

<Dialog 
  open={true or false, pulled from Dashboard properties}
  title="Custom Date Filter" 
  handleSubmit={handleDialogSubmit}
>
  <DateRangePicker/>
</Dialog>

When I change the boolean for open to false and render() is called, the following error appears in the console:

ReactTransitionGroup.js?bd5c:126 
Uncaught TypeError: Cannot read property 'componentWillEnter' of undefined
React.createClass.performEnter @ ReactTransitionGroup.js?bd5c:126
React.createClass.componentDidUpdate @ ReactTransitionGroup.js?bd5c:86
assign.notifyAll @ CallbackQueue.js?bea8:65
ON_DOM_READY_QUEUEING.close @ ReactReconcileTransaction.js?9178:81
Mixin.closeAll @ Transaction.js?6dff:202
Mixin.perform @ Transaction.js?6dff:149
Mixin.perform @ Transaction.js?6dff:136
assign.perform @ ReactUpdates.js?ce09:86
flushBatchedUpdates @ ReactUpdates.js?ce09:147
wrapper @ ReactPerf.js?ef93:66
NESTED_UPDATES.close @ ReactUpdates.js?ce09:45
Mixin.closeAll @ Transaction.js?6dff:202
Mixin.perform @ Transaction.js?6dff:149
assign.perform @ ReactUpdates.js?ce09:86
flushBatchedUpdates @ ReactUpdates.js?ce09:147
wrapper @ ReactPerf.js?ef93:66
Mixin.closeAll @ Transaction.js?6dff:202
Mixin.perform @ Transaction.js?6dff:149
ReactDefaultBatchingStrategy.batchedUpdates @ ReactDefaultBatchingStrategy.js?ef70:62
batchedUpdates @ ReactUpdates.js?ce09:94
ReactEventListener.dispatchEvent @ ReactEventListener.js?2365:204

and the dialog close animation does not occur.

Versions

  • Material-UI: 0.14.4
  • React: 0.14.6
  • Browser: Chrome
@mpontikes mpontikes mentioned this issue Aug 5, 2016
13 tasks
@aahan96
Copy link
Contributor

aahan96 commented Aug 15, 2016

@rachael There is no error showing in the latest version of MUI (0.15.4). Closing issue

@aahan96 aahan96 closed this as completed Aug 15, 2016
@zannager zannager added the component: dialog This is the name of the generic UI component, not the React module! label Dec 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: dialog This is the name of the generic UI component, not the React module!
Projects
None yet
Development

No branches or pull requests

3 participants