Unplanned
Last Updated: 25 Apr 2022 06:31 by Bruce
Bruce
Created on: 25 Apr 2022 06:31
Category: Kendo UI® for Vue
Type: Bug Report
0
Popup in DatePicker does not close correctly when in v-show hidden container

We have a window hidden with v show and a DatePicker in it.
When we open the DatePicker and try to hide the Window the popup of the DatePicker stays opened

example and steps in ticket - 1562574

workaround - delay the hiding of the Window with 200 ms to ahve a default hiding of the popup executed:

const toggleDialog = (e) => {
e.preventDefault();
setTimeout(() => {
if (visible.value) {
showPopup.value = false;
}
visible.value = !visible.value;
}, 200);
};

0 comments