base-components-recipes icon indicating copy to clipboard operation
base-components-recipes copied to clipboard

Bugfix: lightning combobox triggers virtual keyboard on touch devices

Open chirag64 opened this issue 4 years ago • 2 comments

Steps to reproduce the issue: User opens a web page with a lightning-combobox like https://developer.salesforce.com/docs/component-library/bundle/lightning-combobox/example on an Android or iOS device and taps on the combobox to open it.

Actual behavior: Virtual keyboard on iOS and Android opens up

Screenshot of issue

Expected behavior: Virtual keyboard on iOS or Android should not open up as the user is supposed to select a value, not type in the combobox

Fix: As per MDN, inputmode="none" when applied to an input tag will stop the trigger of virtual keyboard from happening

I'm aware that you are not accepting Pull Requests, but I'm hoping you can make an exception for this small change or at least acknowledge & fix this issue from your end soon.

chirag64 avatar Feb 17 '21 13:02 chirag64

Thanks for the contribution! Before we can merge this, we need @chirag64 to sign the Salesforce.com Contributor License Agreement.

salesforce-cla[bot] avatar Feb 17 '21 13:02 salesforce-cla[bot]

up

vincentducorps avatar Mar 16 '21 16:03 vincentducorps