Skip to content

When moving the internal trigger of the Dropdown component, the position of the spring box is incorrect #4686

@IMLaoJI

Description

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

Version

2.2.8

Environment

window10 chrome92 vue3

Reproduction link

Edit on CodeSandbox Vue version

Edit on CodeSandbox React Version

Steps to reproduce

Vue version error https://codesandbox.io/s/distracted-https-06glo?file=/src/components/demo.js
React version right https://codesandbox.io/s/blazing-microservice-q3px3
when you focus And click input the inner trigger move.

What is expected?

When using a drop-down box component, the code moves the position of an internally triggered component (such as input) via the JS DOM API (such as swapping to siblings). The position of the drop-down box does not follow dynamically, as with the React version of the drop-down box component

What is actually happening?

When using a drop-down box component, the code moves the position of an internally triggered component (such as input) via the JS DOM API (such as swapping to siblings). The position of the drop-down box does not follow dynamically, as with the React version of the drop-down box component


vue version https://codesandbox.io/s/distracted-https-06glo?file=/src/components/demo.js

react version https://codesandbox.io/s/blazing-microservice-q3px3

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions