Skip to content

[t-select] 虚拟滚动搜索后出现空白区域 #3663

@LumosMix

Description

@LumosMix

tdesign-vue 版本

1.21.1

重现链接

https://tdesign.tencent.com/vue/components/select?tab=demo

重现步骤

1、对select开启虚拟滚动,开启筛选
2、聚焦输入框,并拖动滚动条到任意位置
3、直接输入中文词组【确保下拉内容第一屏不出现这个词组】或者粘贴字符串,在官网示例中可以直接粘贴 【288】
4、出现空白区域,拖动到底部可以看见筛选结果
5、select失焦再聚焦,空白区域依旧存在,滚动会归位

期望结果

不要出现空白

实际结果

空白区域,且第二次聚焦后会存在

框架版本

V2.7.16

浏览器版本

138.0.7204.169(正式版本)

系统版本

win10

Node版本

No response

补充说明

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions