Closed suginaMiki closed 1 year ago
3.2.0
win10, Chrome104.0.5112.81, Vue3.2.25
https://www.antdv.com/components/input-cn
input输入emoji表情,并且显示计数(showCount)
一个emoji占2个字符,且一个emoji在计数上应该算2
一个emoji占2个字符,且一个emoji在计数上实际是1
就在ant官网组件示例里就能重现
Duplicate of #6794
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.
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官网组件示例里就能重现