Skip to content

Commit 1fae69e

Browse files
committed
fix: iOS touch/hover issue on Modals & derivates (Dialog, etc)
1 parent eb85fef commit 1fae69e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/components/modal/QModal.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,10 @@ export default {
160160
openedModalNumber++
161161

162162
let content = this.$refs.content
163+
if (this.$q.platform.is.ios) {
164+
// workaround the iOS hover/touch issue
165+
content.click()
166+
}
163167
content.scrollTop = 0
164168
;['modal-scroll', 'layout-view'].forEach(c => {
165169
[].slice.call(content.getElementsByClassName(c)).forEach(el => {

0 commit comments

Comments
 (0)