We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1985776 commit 82fc6a4Copy full SHA for 82fc6a4
packages/floating-vue/src/directives/v-close-popper.ts
@@ -1,9 +1,9 @@
1
-import { supportsPassive } from '../util/env'
+import { supportsPassive, isIOS } from '../util/env'
2
3
function addListeners (el) {
4
el.addEventListener('mousedown', addEventProps)
5
el.addEventListener('click', addEventProps)
6
- el.addEventListener('touchstart', onTouchStart, supportsPassive
+ el.addEventListener('touchstart', onTouchStart, supportsPassive && !isIOS
7
? {
8
passive: true,
9
}
0 commit comments