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

Fix #38: Browser's autocomplete stops the up and down keys from working #39

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

rhorenov
Copy link

@rhorenov rhorenov commented Aug 8, 2018

Changing the hours and minutes using the up and down keys does not work reliably if the browser's autocomplete functionality is enabled.

The autocomplete functionality is not needed anyway in the hours/minutes inputs.

Solution: Add attribute autocomplete="off" to hours/minutes inputs.

To replicate:

  • Enter some number(s) into the hours or minutes inputs
  • Confirm the number(s) (e.g. by chaging the focus)
  • Try to change the value using keyboard up and down keys
  • When you reach any of the previously entered values, the browser opens an autocompletion menu and the keyboard arrows no longer work as expected

Tested on Chrome 68.0.3440.84 (Windows).

Changing the hours and minutes using the up and down keys does not work reliably if the browser's autocomplete functionality is enabled.

The autocomplete functionality is not needed anyway in the hours/minutes inputs.

Solution: Add attribute autocomplete="off" to hours/minutes inputs.

To replicate:

 - Enter some number(s) into the hours or minutes inputs
 - Confirm the number(s) (e.g. by chaging the focus)
 - Try to change the value using keyboard up and down keys
 - When you reach any of the previously entered values, the browser opens an autocompletion menu and the keyboard arrows no longer work as expected

 Tested on Chrome 68.0.3440.84 (Windows).
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.

1 participant