-
Notifications
You must be signed in to change notification settings - Fork 0
Closed
Labels
enhancementNew feature or requestNew feature or request
Description
Our current shadowed mixin defaults to not delegating focus (delegatesFocus is false, which is also the default). We override this in the field mixin to set delegatesFocus to true because field elements probably want to accept focus. However, it's possible that a non-field component would want to accept focus as well. Similarly, a field-level component may not want to use the field mixin, in which case it would be convenient to have a mixin that sets the shadowRoot with delegatesFocus to true.
Background
When delegatesFocus is set to true, the browser makes a best effort to display the whole component as being in focus, even if the human clicks on (or otherwise interacts with) a non-focusable element within the component. Learn more.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request