forked from open-webui/open-webui
		
	fix: modal should not close when dragging from inside of modal
This commit is contained in:
		
							parent
							
								
									c9589e2118
								
							
						
					
					
						commit
						d4339fe769
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		|  | @ -51,7 +51,7 @@ | |||
| 		bind:this={modalElement} | ||||
| 		class=" fixed top-0 right-0 left-0 bottom-0 bg-black/60 w-full min-h-screen h-screen flex justify-center z-[9999] overflow-hidden overscroll-contain" | ||||
| 		in:fade={{ duration: 10 }} | ||||
| 		on:click={() => { | ||||
| 		on:mousedown={() => { | ||||
| 			show = false; | ||||
| 		}} | ||||
| 	> | ||||
|  | @ -60,7 +60,7 @@ | |||
| 				size | ||||
| 			)} mx-2 bg-gray-50 dark:bg-gray-900 shadow-3xl" | ||||
| 			in:flyAndScale | ||||
| 			on:click={(e) => { | ||||
| 			on:mousedown={(e) => { | ||||
| 				e.stopPropagation(); | ||||
| 			}} | ||||
| 		> | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Dom Slee
						Dom Slee