You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The actual reason for such behavior, as far as I remember, was to make it possible to clear the vaadin-combo-box on mobile device without focusing the input element (which we now do on clear button mousedown, see #2619).
Here is how clear button works for existing 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
I will create a separate issue to discuss whether we should align this behavior.
Until then, the solution would be to add touchend listener to vaadin-multi-select-combo-box.
Description
When
clear-button-visible
is set, tapping the button does not work.msc-clear.mp4
Expected outcome
Expected clear button to clear on
touchend
, like it works in the regularvaadin-combo-box
:web-components/packages/combo-box/src/vaadin-combo-box-mixin.js
Lines 1291 to 1297 in 61d8f07
Minimal reproducible example
Check the example in the dev page.
Steps to reproduce
Environment
Vaadin version(s): 23.2 alpha, 23.1
Browsers
Issue is not browser related
The text was updated successfully, but these errors were encountered: