mirror of
				https://github.com/TriliumNext/Notes.git
				synced 2025-10-31 13:01:31 +08:00 
			
		
		
		
	fix(mobile): prevent back on iOS
This commit is contained in:
		
							parent
							
								
									73828a195b
								
							
						
					
					
						commit
						eb97c1e9e2
					
				| @ -23,10 +23,8 @@ export default class SidebarContainer extends FlexContainer { | |||||||
|             }); |             }); | ||||||
|         }); |         }); | ||||||
| 
 | 
 | ||||||
|         document.addEventListener("touchstart", (e) => this.#onDragStart(e), { |         document.addEventListener("touchstart", (e) => this.#onDragStart(e)); | ||||||
|             passive: false |         document.addEventListener("touchmove", (e) => this.#onDragMove(e), { passive: false }); | ||||||
|         }); |  | ||||||
|         document.addEventListener("touchmove", (e) => this.#onDragMove(e)); |  | ||||||
|         document.addEventListener("touchend", (e) => this.#onDragEnd(e)); |         document.addEventListener("touchend", (e) => this.#onDragEnd(e)); | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Elian Doran
						Elian Doran