Skip to content

input输入emoji表情计数问题 #6794

@wangxiaoerer

Description

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

Version

3.2.11

Environment

Google Chrome 115.0.5790.110

Reproduction link

https://3x.antdv.com/components/input-cn

Steps to reproduce

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

What is expected?

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

What is actually happening?

a-input 输入emoji在计数上是1

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions