mirror of
				https://github.com/KevinMidboe/vue-js-modal.git
				synced 2025-10-29 18:00:20 +00:00 
			
		
		
		
	Added touchstart to places where mousedown is called
This commit is contained in:
		
							
								
								
									
										9
									
								
								dist/index.js
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										9
									
								
								dist/index.js
									
									
									
									
										vendored
									
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							
							
								
								
									
										9
									
								
								dist/ssr.index.js
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										9
									
								
								dist/ssr.index.js
									
									
									
									
										vendored
									
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							| @@ -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" | ||||
|   | ||||
		Reference in New Issue
	
	Block a user