Closed YannLynn closed 10 months ago
Select
latest
点击选中西瓜视频, +n tag 数量从 1 变为 3,hover 显示的 tag 也是错误的。
点击选中西瓜视频, +n tag 数量从 1 变为 2
import React from 'react'; import { Select } from '@douyinfe/semi-ui'; () => ( <> <Select multiple maxTagCount={2} ellipsisTrigger showRestTagsPopover={true} restTagsPopoverProps={{ position: 'top' }} style={{ width: '200px' }} defaultValue={['abc', 'ulikecam', 'jianying']} > <Select.Option value="abc">抖音</Select.Option> <Select.Option value="ulikecam">轻颜相机</Select.Option> <Select.Option value="jianying">剪映</Select.Option> <Select.Option value="xigua">西瓜视频</Select.Option> </Select> </> );
- OS: - browser:
No response
fixed in 2.45.0
Is there an existing issue for this?
Which Component
Select
Semi Version
latest
Current Behavior
点击选中西瓜视频, +n tag 数量从 1 变为 3,hover 显示的 tag 也是错误的。
Expected Behavior
点击选中西瓜视频, +n tag 数量从 1 变为 2
Steps To Reproduce
ReproducibleCode
Environment
Anything else?
No response