We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
errors with Cannot read property 'parentNode' of null
Cannot read property 'parentNode' of null
child component: onConfirm={this.props.confirmAction}
onConfirm={this.props.confirmAction}
parent component: confirmAction={this.confirm.bind(this)}
confirmAction={this.confirm.bind(this)}
function:
confirm() { this.setState({ saving: true, confirm: true, }, () => { this.save() }) }
really don't understand the strange behaviour, when I remove setState from function confirm of parrent component, it works
setState
The text was updated successfully, but these errors were encountered:
facing same issue
Sorry, something went wrong.
No branches or pull requests
errors with
Cannot read property 'parentNode' of null
child component:
onConfirm={this.props.confirmAction}
parent component:
confirmAction={this.confirm.bind(this)}
function:
really don't understand the strange behaviour, when I remove
setState
from function confirm of parrent component, it worksThe text was updated successfully, but these errors were encountered: