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

RIEInput is deselected when rerender occur #46

Open
r0stig opened this issue Jun 16, 2017 · 0 comments
Open

RIEInput is deselected when rerender occur #46

r0stig opened this issue Jun 16, 2017 · 0 comments

Comments

@r0stig
Copy link

r0stig commented Jun 16, 2017

When component rerenders the RIEInput is deselected and all changes is lost. I've made a minimal demo of the bug here:

https://github.com/r0stig/riek-blur-bug

Follow the instructions in the README to recreate the bug.

I suspect the problem lies in https://github.com/kaivi/riek/blob/master/src/RIEBase.js#L67 where in this case we should not reset the state. But I'm not sure how to fix this without creating bugs in some other case.

Any ideas?

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

No branches or pull requests

1 participant