element-plus [Component] [select] El-select : iPad/iPhone keyboard is not shown when field gets focus

wfypjpf4  于 2023-03-19  发布在  其他
关注(0)|答案(4)|浏览(133)

Bug Type: Component

Environment

  • Vue Version: 3.2.45
  • Element Plus Version: 2.2.28
  • Browser / OS: Chrome 109.0.5414.83/ iOS 16.2
  • Build Tool: Webpack

Reproduction

  • el-select

Docs

Steps to reproduce

set focus to filterable select field.

What is Expected?

Opening the keyboard

What is actually happening?

It is not possible to enter a value in field

Additional comments

Works correctly only on fields with a multiple parameter.

pb3s4cty

pb3s4cty2#

I can confirm this is an issue as well

dluptydi

dluptydi3#

Seems the issue is due to the readonly flag added to the input:

ElemeFE/element#10403
ElemeFE/element#12588

Can someone explain why this was done, and can we not add some kind of exception handling for specific devices? I understand "it's not meant for mobile" ... but having columns and code that supports xs and s resolution .. you can't really expect that it would never be used on a mobile device

j13ufse2

j13ufse24#

Why is this not getting any attention? We will be forced to change frameworks because of this issue. We are in 2023, just saying that it is not meant to run on mobile is bad. Especially since this isn't being stated in any of the introduction or getting started areas. It is misleading and this causes a lot of headaches.

相关问题