vueComponent / ant-design-vue

🌈 An enterprise-class UI components based on Ant Design and Vue. 🐜
https://antdv.com/
Other
20.28k stars 3.79k forks source link

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

Closed suginaMiki closed 1 year ago

suginaMiki commented 2 years ago

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官网组件示例里就能重现

kovsu commented 1 year ago

Duplicate of #6794

github-actions[bot] commented 2 months ago

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.