8000 Added key prop to MenuPanel so that it unmounts when the param changes by funwithtriangles · Pull Request #210 · nudibranchrecords/hedron · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Added key prop to MenuPanel so that it unmounts when the param changes #210

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

Merged
merged 1 commit into from
Mar 27, 2019

Conversation

funwithtriangles
Copy link
Member

Fixes #208

The issue was that redux-form needs to unmount and remount to update the values in the form. Since changing the design so that the properties for each param appear in the same place, it wasn't unmounting. To fix this, we just need a unique key prop to change in the parent component to force the unmounting.

@funwithtriangles funwithtriangles merged commit 519d946 into dev Mar 27, 2019
@funwithtriangles funwithtriangles deleted the fix/param-advanced branch March 27, 2019 13:32
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

Successfully merging this pull request may close these issues.

Can't type into param advanced fields after re-selecting a param
1 participant
0