vaadin / vaadin-date-picker

The Web Component providing a date selection field with scrollable month calendar. Part of the Vaadin components.
https://vaadin.com/components
Apache License 2.0
166 stars 78 forks source link

Rethink the focus mode #276

Closed tomivirkki closed 7 years ago

tomivirkki commented 7 years ago

UX test summary:

Perhaps we should not support navigating the input at all when the overlay is open.

The current “proto-pre-beta” branch does the following (related to these issues):

Saulis commented 7 years ago

Let's start off by making it visually explicit where the focus lies currently. Blur the input field when keyboard is used to navigate the overlay. And "blur" the overlay when input is focused.

After that we can start thinking of ways of improving how the focus is moved between input and the overlay.

manolo commented 7 years ago

The final prototype is in https://github.com/vaadin/vaadin-date-picker/commits/pro-overlay-focus , It contains some patches from https://github.com/vaadin/vaadin-date-picker/commits/proto-pre-beta .

Waiting for UX testing

samiheikki commented 7 years ago

UX testing feedback: https://docs.google.com/document/d/1uO1NlZETV6hQbjv-x0X7oLHDgS-5iifnzYPpAOL1Jnw/edit#