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

[Bug Report] el-carousel 小屏幕轮播偏移有偏差 #22975

Open
kyhuangmouren opened this issue Oct 8, 2024 · 1 comment
Open

[Bug Report] el-carousel 小屏幕轮播偏移有偏差 #22975

kyhuangmouren opened this issue Oct 8, 2024 · 1 comment

Comments

@kyhuangmouren
Copy link

Element UI version

2.15.14

OS/Browsers version

window 谷歌

Vue version

2.7.16

Reproduction Link

https://github.com/ElemeFE/element/issues?q=carousel

Steps to reproduce

官网上就能重现
小的显示器上(例如笔记本) 让左右两个为纯色背景时 中间组件会看到两边的1px 宽度颜色
transform 计算和大屏幕不一致

What is Expected?

和大屏幕一致 不出现transform 偏移计算问题

What is actually happening?

小屏幕显示器 transform 偏移计算不准确

@kyhuangmouren
Copy link
Author

image
小屏幕 左右两边的 偏移度不对 导致前后两张的样式出现

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

1 participant