vue-datepicker-next icon indicating copy to clipboard operation
vue-datepicker-next copied to clipboard

[Bug] Issue with datepicker pop-up being added outside overlay element

Open jieun94 opened this issue 2 years ago • 1 comments
trafficstars

Vue2-datepicker version: 1.0.2 Vue version: 3.2.13 Browser: Chromium110

Steps to reproduce When using the verify overlay component, the overlay is closed because popup is created outside the overlay element.

Reproduction Link or Source Code https://codesandbox.io/s/vuetify3-forked-7pixvp?file=/src/components/HelloWorld.vue image

Expected behavior The datepicker pop-up closes when you select a date from the pop-up.

Actual behavior When you select a date from the datepicker pop-up, both the overlay and the datepicker are closed because the date picker pop-up is recognized as a click element outside the overlay.

jieun94 avatar Feb 21 '23 04:02 jieun94

set append-to-body to false.

<date-picker :append-to-body="false" v-model:value="time"></date-picker>

mengxiong10 avatar Feb 22 '23 03:02 mengxiong10