-
-
Notifications
You must be signed in to change notification settings - Fork 15k
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
[Component] [select, input] el-select focus状态,会出现边框溢出的问题。blur后仍有残留的蓝色像素在角落 #16077
Comments
这种问题一般与屏幕分辨率和系统缩放有关,不是组件的问题。 |
似乎是chromium内核浏览器特有的问题 |
确实,在 Firefox 没有复现这个问题。不过 element-plus@2.3.x 也没有这个问题。 |
将浏览器缩放调整至150%缩放以上会不会出现同样的情况呢? |
尝试了一下,也会,某些缩放倍率下会出现此问题。对我的设备来说(3440*1440),100%、110%、175%、200%时会出现 |
似乎是设备像素和设备独立像素没对齐导致的 |
Bug Type:
Component
Environment
3.4.21
2.6.0
Chrome 122.0.6261.95
Vite
Reproduction
Related Component
el-select
el-input
Reproduction Link
Docs CN
Steps to reproduce
在文档的 #表单校验 部分,点击 Activity zone 选择器,然后仔细观察选择器边框的左上角。
包括 https://issue.element-plus.org/ issue标题的输入框也出现了同样情况。
What is Expected?
hover、focus、error各个状态的边框范围一致,仅颜色有变化
What is actually happening?
focus、error状态时,边框除了颜色变化,还溢出到了应有的范围之外。主要体现在左上角和右上角出现多余的蓝色或红色像素点。
且组件失焦后,蓝色像素点仍存在于左上角和右上角。
Additional comments
其它版本我不清楚,我之前使用的2.3.14版本无此问题,升级到2.6.0则发现了这个问题。
The text was updated successfully, but these errors were encountered: