mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 03:29:02 +01: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), { | ||||
|             passive: false | ||||
|         }); | ||||
|         document.addEventListener("touchmove", (e) => this.#onDragMove(e)); | ||||
|         document.addEventListener("touchstart", (e) => this.#onDragStart(e)); | ||||
|         document.addEventListener("touchmove", (e) => this.#onDragMove(e), { passive: false }); | ||||
|         document.addEventListener("touchend", (e) => this.#onDragEnd(e)); | ||||
|     } | ||||
| 
 | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Elian Doran
						Elian Doran