ElemeFE / element

A Vue.js 2.0 UI Toolkit for Web
https://element.eleme.io/
MIT License
54.12k stars 14.64k forks source link

[Bug Report] el-input 的字符数限制,在iOS可通过输入表情符号来突破 #20534

Open jadedrip opened 3 years ago

jadedrip commented 3 years ago

Element UI version

2.14.1

OS/Browsers version

iOS 14.2

Vue version

2.6.11

Reproduction Link

https://jsfiddle.net/jadedrip/zw2chjsv/6/

Steps to reproduce

苹果手机上,在有输入限制的输入框,不断输入表情符号

What is Expected?

到达限制后无法输入

What is actually happening?

到达限制后表情符号仍然能输入,直到限制的一倍。

jadedrip commented 3 years ago

https://element.eleme.cn/#/zh-CN/component/input 直接在官方网站就能测试

3344567 commented 3 years ago

我没有ios机,不过你可以试试原生input在ios是不是也有bug

jadedrip commented 3 years ago

初步测试的结果,原生的 input 没有这个问题

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.