Skip to content

Commit

Permalink
fix(QDialog): listen for click on backdrop on ios because 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 (#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
  • Loading branch information
pdanpdan committed Dec 16, 2022
1 parent 77ad9f8 commit a380f91
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.is.ios === true ? 'click' : 'focusin' ]: this.__onBackdropClick
})
})
] : null),
Expand Down

0 comments on commit a380f91

Please sign in to comment.