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

[Drawer] drawerClass 缺失 lockCls 样式导致 contentWrapper 溢出影响页面宽度 #501

Closed
PBK-B opened this issue Mar 17, 2022 · 4 comments

Comments

@PBK-B
Copy link
Contributor

PBK-B commented Mar 17, 2022

tdesign-react 版本

0.27.2

重现链接

https://codesandbox.io/s/tdesign-react-demo-forked-tjtq2m?file=/src/demo.jsx:602-659

重现步骤

根据官方 example 将父 div overflow 属性注释掉即可重现。

正常情况:
截屏2022-03-17 下午6 01 21
Drawer 的 content 没有溢出,页面不可横向滑动

异常情况:
截屏2022-03-17 下午6 01 49
Drawer 的 content 溢出,导致页面出现横向滑动

期望结果

No response

实际结果

No response

框架版本

React(17.0.2)

浏览器版本

No response

系统版本

No response

Node版本

No response

补充说明

No response

@github-actions
Copy link
Contributor

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

@github-actions
Copy link
Contributor

github-actions bot commented Mar 17, 2022

♥️ 有劳 @xianshannan @LittlehorseXie 尽快确认问题。
确认有效后将下一步计划和可能需要的时间回复给 @PBK-B

@PBK-B
Copy link
Contributor Author

PBK-B commented Mar 18, 2022

@PBK-B PBK-B changed the title [Drawer] drawerClass 缺失 lockCls 样式导致 content 溢出影响页面宽度 [Drawer] drawerClass 缺失 lockCls 样式导致 contentWrapper 溢出影响页面宽度 Mar 18, 2022
honkinglin added a commit that referenced this issue Mar 21, 2022
fix: 根据 common Drawer 样式配置指定 tabIndex 消除 outline (#501)
@honkinglin
Copy link
Collaborator

0.29.0 fixed

uyarn pushed a commit that referenced this issue Apr 18, 2022
fix: 根据 common Drawer 样式配置指定 tabIndex 消除 outline (#501)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants