ant-design-vue icon indicating copy to clipboard operation
ant-design-vue copied to clipboard

Enter the emoji expression in the input input box, the showCount display is wrong

Open suginaMiki opened this issue 3 years ago • 0 comments
trafficstars

  • [ ] I have searched the issues of this repository and believe that this is not a duplicate.

Version

3.2.0

Environment

win10, Chrome104.0.5112.81, Vue3.2.25

Reproduction link

https://www.antdv.com/components/input-cn

Steps to reproduce

input输入emoji表情,并且显示计数(showCount)

What is expected?

一个emoji占2个字符,且一个emoji在计数上应该算2

What is actually happening?

一个emoji占2个字符,且一个emoji在计数上实际是1


就在ant官网组件示例里就能重现

suginaMiki avatar Sep 02 '22 06:09 suginaMiki