element [Bug Report] Ie11 browser, textarea input win10 custom expression, maxlenth invalid

f3temu5u  于 4个月前  发布在  其他
关注(0)|答案(2)|浏览(91)

Element UI version

2.12.0

OS/Browsers version

Windows10家庭版/Internet explorer11

Vue version

2.6.12

https://codepen.io/hm448426312/pen/XWjVmPv

Steps to reproduce

由于codeopen不支持IE11,所以需要将代码copy出来,想办法在IE11打开
1.输入框中使用中文输入法
2.输入后点击文字候选栏最右侧的表情图标
3.选中表情
4.重复2.3步骤,即使input设置了maxlength,超出长度后依然可以输入表情

What is Expected?

在IE11下,表情与普通字符串一致,超出可拦截。

What is actually happening?

表情未拦截,可一直输入

2hh7jdfx

2hh7jdfx1#

Translation of this issue:

Element UI version

2.12.0

OS/Browsers version

Windows 10 home / Internet Explorer 11

Vue version

2.6.12

https://codepen.io/hm448426312/pen/XWjVmPv

Steps to reproduce

Because codeopen does not support ie11, you need to copy the code and try to open it in ie11

  1. Chinese input method is used in the input box
  2. After input, click the expression icon on the right side of the text candidate column
  3. Select the expression
  4. Repeat step 2.3, even if input MaxLength is set, you can still input the expression after the length is exceeded

What is Expected?

In ie11, the expression is consistent with the ordinary string, beyond the interception.

What is actually happening?

Expression not intercepted, can be input all the time

ih99xse1

ih99xse12#

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.

相关问题