Added touchstart to places where mousedown is called

This commit is contained in:
euvl
2017-08-23 10:14:01 +01:00
parent a4b04312f0
commit 426f6c4955
3 changed files with 20 additions and 4 deletions

9
dist/index.js vendored

File diff suppressed because one or more lines are too long

9
dist/ssr.index.js vendored

File diff suppressed because one or more lines are too long

View File

@@ -5,7 +5,8 @@
:class="overlayClass"
:aria-expanded="visible.toString()"
:data-modal="name"
@mousedown.stop="onBackgroundClick">
@mousedown.stop="onBackgroundClick"
@touchstart.stop="onBackgroundClick">
<div class="v--modal-top-right">
<slot name="top-right"/>
</div>
@@ -14,7 +15,8 @@
ref="modal"
:class="modalClass"
:style="modalStyle"
@mousedown.stop>
@mousedown.stop
@touchstart.stop>
<slot/>
<resizer v-if="resizable && !isAutoHeight"
:min-width="minWidth"