-
Notifications
You must be signed in to change notification settings - Fork 14.6k
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
el-tooltip在chrome128,body zoom:0.75定位错误 #22967
Comments
element-ui 2.15.14 vue2.6.11 |
我也遇到了一样的问题。 |
同样的问题 |
大佬能不能帮忙看下 @yxy297376376 |
zoom的时候我也遇到了,网上说append-to-body=“false” 这会导致zindex层级失效,有没有大佬写好修改源码定位的插件 |
我看了一下每一个使用popover的地方都是通过new 完成的,而且使用到这个插件的地方很多。所以如果不介意的话,可以考虑这个方案,判断浏览器的版本是否是chrome 且 大于等于128,如果是的话把getBoundingClientRect这个函数直接改了,把返回的内容都除zoom,得到的就是正常的数值 |
其实官方只要稍微改下那个定位的地方 将left和top除以scale就好了,非得别人去改源码 lib/utils/popper.js 634行635行 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
No description provided.
The text was updated successfully, but these errors were encountered: