From a380f91afbbe3399c73a0c3eca5a87b50a379e91 Mon Sep 17 00:00:00 2001 From: Popescu Dan Date: Fri, 16 Dec 2022 13:17:45 +0200 Subject: [PATCH] fix(QDialog): listen for click on backdrop on ios because the refocus does not make sense and ios in non-desktop mode does not focus the backdrop on tap #13619 (#14958) fix(QDialog): listen for click on backdrop on ios becaure the refocus does not make sense and ios in non-desktop mode does not focus the backdrop on tap #13619 --- ui/src/components/dialog/QDialog.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/src/components/dialog/QDialog.js b/ui/src/components/dialog/QDialog.js index 91077433146..ab214b1fe05 100644 --- a/ui/src/components/dialog/QDialog.js +++ b/ui/src/components/dialog/QDialog.js @@ -372,7 +372,7 @@ export default Vue.extend({ staticClass: 'q-dialog__backdrop fixed-full', attrs: backdropAttrs, on: cache(this, 'bkdrop', { - focusin: this.__onBackdropClick + [ this.$q.platform.is.ios === true ? 'click' : 'focusin' ]: this.__onBackdropClick }) }) ] : null),