tdesign-react icon indicating copy to clipboard operation
tdesign-react copied to clipboard

[anchor锚点] 初次进入无法定位第一个tab,点击tab报错

Open Alicecsl opened this issue 2 years ago • 4 comments

tdesign-react 版本

"tdesign-react": "0.45.2",

重现链接

No response

重现步骤

在Drawer组件的body中复用指定容器锚点case

期望结果

正确定位tab,点击tab不报错,定位到的tab颜色激活

实际结果

初次访问没有定位tab,点击tab不报错,定位到的tab颜色不对 image image image

框架版本

"react": "^17.0.2",

浏览器版本

No response

系统版本

No response

Node版本

No response

补充说明

No response

当前运行环境:Google浏览器,版本:109.0.5414.119

demo: <Drawer header="test" footer={false} visible={visible} size="503px">

content-1
content-2
content-3
content-4
content-5

Alicecsl avatar Feb 13 '23 10:02 Alicecsl

👋 @Alicecsl,感谢给 TDesign 提出了 issue。 请根据 issue 模版确保背景信息的完善,我们将调查并尽快回复你。

github-actions[bot] avatar Feb 13 '23 10:02 github-actions[bot]

能给个 demo 嘛?以及当前运行的环境(例如:浏览器)

ontheroad1992 avatar Feb 13 '23 10:02 ontheroad1992

能给个 demo 嘛?以及当前运行的环境(例如:浏览器)

image

当前运行环境:Google浏览器,版本:109.0.5414.119

Alicecsl avatar Feb 13 '23 10:02 Alicecsl

给一个在线 demo 方便调试下?

honkinglin avatar Feb 21 '23 08:02 honkinglin