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

Improved input focusing when there are multiple fields #39

Merged
merged 1 commit into from
Oct 10, 2015
Merged

Improved input focusing when there are multiple fields #39

merged 1 commit into from
Oct 10, 2015

Conversation

laCour
Copy link
Contributor

@laCour laCour commented Oct 6, 2015

This improves focusing of inputs when clicking on field containers (see pull requests #10 and #14 for more information). Normal focusing functionality for singular inputs remains the same, but we can now support edge cases like datetime fields and multiple checkboxes/radios.

This change prevents switching input focus when the user clicks on an input. Because of this correction, we're now able to have multiple inputs in a container without focus being triggered on all of them. Along with this, if a user clicks on the field container (i.e. not an input), normal focus functionality will still focus on the first input of the container.

kumailht added a commit that referenced this pull request Oct 10, 2015
Improved input focusing when there are multiple fields
@kumailht kumailht merged commit c2139cc into furiouscollective:master Oct 10, 2015
@kumailht
Copy link
Contributor

@jonathan Thank you for your contribution to Gridforms!

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