ElemeFE / element

A Vue.js 2.0 UI Toolkit for Web
https://element.eleme.io/
MIT License
54.12k stars 14.64k forks source link

[Bug Report] datePicker close dropdown menu when selecting a date (even if hide-on-click is false) #15945

Open Radek-Wawrzyk opened 5 years ago

Radek-Wawrzyk commented 5 years ago

Element UI version

2.9.1

OS/Browsers version

Windows 10 / Chrome version 74.0.3729.169

Vue version

2.6.10

Reproduction Link

https://codepen.io/anon/pen/YbbqpN

Steps to reproduce

Select date in datePicker when that component is nested in the dropdown component (with hide-on-click=false)

What is Expected?

Dropdown should not close itself (if hide-on-click is false) after selecting date in datePicker

What is actually happening?

Dropdown close itself after selecting date in datePicker

sparGuan commented 5 years ago

How can I solve the same problem?

sparGuan commented 5 years ago

image tofix this bug

anhnn78 commented 4 years ago

You should set attribute popper-append-to-body of that nested select component to false. Problem solved. 😃

stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.