Skip to content

第一次点击 a-dropdown 时,a-menu slot="overlay" 位置错位 #2359

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

Closed
1 task done
mxue12138 opened this issue Jun 4, 2020 · 2 comments
Closed
1 task done

Comments

@mxue12138
Copy link

mxue12138 commented Jun 4, 2020

  • I have searched the issues of this repository and believe that this is not a duplicate.

Version

1.6.1

Environment

操作系统:macOS Mojave 10.14.6。浏览器:Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.61 Safari/537.36。Vue:2.6.11

Reproduction link

Edit on CodeSandbox

Steps to reproduce

第一次点击菜单时位置会错位,但是之后点击位置就正常了,,,每次刷新后第一次点击都会这样错误

What is expected?

期望下拉菜单显示在正确的位置

What is actually happening?

实际显示的位置错位,一般错位在右侧

@nooldey
Copy link

nooldey commented Jun 24, 2020

https://codesandbox.io/s/antd-vue-w0i9g?file=/src/App.vue

类似问题:
初始化设置placement=bottomCenter;
首次展开,menu位置在相对title居中,正常;
第二次展开,menu位置在相对title左侧,错位;

@github-actions
Copy link

github-actions bot commented Jul 3, 2021

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 3, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants