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

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

Open
Alicecsl opened this issue Feb 13, 2023 · 4 comments
Open
Labels
example Something about example need more info 需要更多信息理解 issue 的问题

Comments

@Alicecsl
Copy link

Alicecsl commented Feb 13, 2023

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:

content-1
content-2
content-3
content-4
content-5
@github-actions
Copy link
Contributor

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

@ontheroad1992
Copy link
Contributor

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

@Alicecsl
Copy link
Author

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

image

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

@honkinglin
Copy link
Collaborator

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

@HaixingOoO HaixingOoO added need more info 需要更多信息理解 issue 的问题 example Something about example labels Feb 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
example Something about example need more info 需要更多信息理解 issue 的问题
Projects
None yet
Development

No branches or pull requests

4 participants