Skip to content

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

@mxue12138

Description

@mxue12138
  • 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?

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions