Skip to content

Commit

Permalink
fix(QDialog): listen for click on backdrop on ios becaure the refocus…
Browse files Browse the repository at this point in the history
… does not make sense and ios in non-desktop mode does not focus the backdrop on tap #13619
  • Loading branch information
pdanpdan committed Nov 22, 2022
1 parent 381ffcf commit 83a0aa5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/src/components/dialog/QDialog.js
Expand Up @@ -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.ios === true ? 'click' : 'focusin' ]: this.__onBackdropClick
})
})
] : null),
Expand Down

0 comments on commit 83a0aa5

Please sign in to comment.