Skip to content

Align clear button focus behavior in field components #4130

Closed

Description

@web-padawan

Describe your motivation

While looking into #4129, I noticed that our components are not consistent with regards to how clear button works.

This is especially important on mobile, where focusing an <input> element opens a virtual keyboard.

Current state

Here is how clear button currently works in our components (tested on desktop and with iOS Simulator):

component Desktop iOS Simulator
vaadin-combo-box Focus Don't focus
vaadin-time-picker Focus Don't focus
vaadin-date-picker Don't focus Don't focus
vaadin-text-field Focus Focus

Describe the solution you'd like

Align all the components to enable consistent behavior.

Related PRs

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions