Skip to content

Fix components remounting in parallel/sequential wrappers #31

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
May 14, 2019

Conversation

arthurxavierx
Copy link
Contributor

If you go to https://lumihq.github.io/purescript-lumi-components/#/form and type in anything inside the Password field, the focus is lost, as the component is getting remounted.

Presumably this happens because keyed <<< fragment does not work properly. This was solved by replacing this in the case for Wrapper form trees with a div with a key.

@arthurxavierx arthurxavierx requested a review from maddie927 May 14, 2019 18:20
@arthurxavierx arthurxavierx self-assigned this May 14, 2019
@arthurxavierx arthurxavierx merged commit 51fa793 into master May 14, 2019
@arthurxavierx arthurxavierx deleted the arthur/form/fix-parallel-sequential branch May 14, 2019 18:28
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.

2 participants