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

[SelectInput] 当页面设置最大高度时,鼠标滚动,会导致页面宽度增加(!!!注意:这里链接鼠标才会有问题) #2642

Closed
justtoday111 opened this issue Dec 4, 2023 · 7 comments
Assignees
Labels
🐞 bug Something isn't working to be published fixed, not be published

Comments

@justtoday111
Copy link

tdesign-react 版本

1.4.0

重现链接

https://stackblitz.com/edit/stackblitz-starters-8j8ljt?description=React%20%20%20TypeScript%20starter%20project&file=src%2FApp.tsx,src%2Fstyle.css,src%2Findex.tsx,public%2Findex.html,package.json&title=React%20Starter

重现步骤

滚动页面,页面下拉宽度随着滚动改变

期望结果

下拉框宽度与输入框保持一致
WX20231204-181532@2x

实际结果

下拉框宽度会随页面滚动而改变

WX20231204-181417@2x

框架版本

No response

浏览器版本

No response

系统版本

No response

Node版本

14.15.0

补充说明

No response

Copy link
Contributor

github-actions bot commented Dec 4, 2023

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

Copy link
Contributor

github-actions bot commented Dec 4, 2023

♥️ 有劳 @carolin913 @Hoofoo-WHU @chaishi 尽快确认问题。
确认有效后将下一步计划和可能需要的时间回复给 @justtoday111

@justtoday111
Copy link
Author

希望尽快处理

@NWYLZW
Copy link
Collaborator

NWYLZW commented Dec 4, 2023

Export-1701685787477

看起来无法复现,请提供更多的环境以及操作信息

@NWYLZW NWYLZW added the need more info 需要更多信息理解 issue 的问题 label Dec 4, 2023
@uyarn
Copy link
Collaborator

uyarn commented Dec 4, 2023

image need to complete these info 🤔

@NWYLZW NWYLZW added 🐞 bug Something isn't working in progress in progress and removed need more info 需要更多信息理解 issue 的问题 labels Dec 4, 2023
@NWYLZW
Copy link
Collaborator

NWYLZW commented Dec 4, 2023

由系统滚动条所占据空间导致的计算错误,已经在修复了。
如果需要先行解决,可以使用 css 暂时将滚动条的宽度设置为 0。

@uyarn
Copy link
Collaborator

uyarn commented Dec 14, 2023

fixed 1.4.1

@uyarn uyarn closed this as completed Dec 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐞 bug Something isn't working to be published fixed, not be published
Projects
None yet
Development

No branches or pull requests

5 participants