Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

选择器设置 max-tag-count=responsive 时,多选卡顿 #5916

Open
5 tasks done
xinbingyiran opened this issue Apr 30, 2024 · 1 comment
Open
5 tasks done

选择器设置 max-tag-count=responsive 时,多选卡顿 #5916

xinbingyiran opened this issue Apr 30, 2024 · 1 comment
Labels
untriaged need to sort

Comments

@xinbingyiran
Copy link

描述错误

当选择器多选时,如果同时设置了max-tag-count=responsive(或不设置max-tag-count),会随改变项增多而卡顿

复现步骤

n-select 设置 multiple max-tag-count=responsive,并绑定许多项(20000)
执行全选功能

最小复现链接

https://codesandbox.io/p/sandbox/naughty-heyrovsky-83tznp

系统信息

System:
    OS: Windows 11 10.0.22631
    CPU: (4) x64 Intel(R) Core(TM) i5-7400 CPU @ 3.00GHz
    Memory: 676.68 MB / 7.70 GB
  Binaries:
    Node: 20.9.0 - C:\Program Files\nodejs\node.EXE
    npm: 10.1.0 - C:\Program Files\nodejs\npm.CMD
  Browsers:
    Edge: Chromium (123.0.2420.97)
    Internet Explorer: 11.0.22621.3527
  npmPackages:
    naive-ui: ^2.38.1 => 2.38.1
    vue: ^3.4.21 => 3.4.23

使用的包管理器

npm

验证

@xinbingyiran xinbingyiran added the untriaged need to sort label Apr 30, 2024
@maddenBoy
Copy link

跟这个应该是同一个问题https://github.com/tusen-ai/naive-ui/issues/5351

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
untriaged need to sort
Projects
None yet
Development

No branches or pull requests

2 participants