Skip to content

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

Open
rhorenov wants to merge 1 commit intoclasslinkinc:masterfrom
rhorenov:fix_38_autocomplete_off
Open

Fix #38: Browser's autocomplete stops the up and down keys from working#39
rhorenov wants to merge 1 commit intoclasslinkinc:masterfrom
rhorenov:fix_38_autocomplete_off

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