From c81e835b2ea79d831b3b7e028684ae55abc114ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tu=C4=9F=C3=A7e=20K=C3=BC=C3=A7=C3=BCko=C4=9Flu?= Date: Fri, 10 Mar 2023 14:14:16 +0300 Subject: [PATCH] Fixed #3516 - ConfirmPopup: page scrolls up when the button is clicked a second time --- components/confirmpopup/ConfirmPopup.vue | 3 +++ 1 file changed, 3 insertions(+) diff --git a/components/confirmpopup/ConfirmPopup.vue b/components/confirmpopup/ConfirmPopup.vue index 00f3ce6cf..bf472c367 100644 --- a/components/confirmpopup/ConfirmPopup.vue +++ b/components/confirmpopup/ConfirmPopup.vue @@ -144,6 +144,9 @@ export default { this.focus(); }, onLeave() { + this.autoFocusAccept = null; + this.autoFocusReject = null; + this.unbindOutsideClickListener(); this.unbindScrollListener(); this.unbindResizeListener();