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

Shouldn't have to click out to click done #215

Open
ddfridley opened this issue Sep 28, 2022 · 1 comment
Open

Shouldn't have to click out to click done #215

ddfridley opened this issue Sep 28, 2022 · 1 comment
Labels

Comments

@ddfridley
Copy link
Contributor

IF you go to the configure election page, or the questions page, and enter data, after you enter data in the last field, you can't click on the Done button until you click outside of the input field to cause an unblur.

People are asking that the done button be active before you leave the input field - meaning update the done button status onChange rather than onBlur

But this might effect the database to - we write the data to the db onBlur.

But lets make it so the Done button is active as soon as the content of the input field is valid, without waiting for onBlur.

Make this change to all pages.

@ddfridley
Copy link
Contributor Author

I suspect it may not be going to done after tabbing out of the last field because the button is inActive at the moment you tab out, and it doesn't become active until the onBlur is handled and the component rerenders.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant