mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 02:16:05 +01:00 
			
		
		
		
	fix unwanted movement with navigation keys
This commit is contained in:
		| @@ -434,15 +434,23 @@ const noteTree = (function() { | ||||
|             // so we essentially takeover the standard handling with our implementation. | ||||
|             "left": node => { | ||||
|                 node.navigate($.ui.keyCode.LEFT, true); | ||||
|  | ||||
|                 return false; | ||||
|             }, | ||||
|             "right": node => { | ||||
|                 node.navigate($.ui.keyCode.RIGHT, true); | ||||
|  | ||||
|                 return false; | ||||
|             }, | ||||
|             "up": node => { | ||||
|                 node.navigate($.ui.keyCode.UP, true); | ||||
|  | ||||
|                 return false; | ||||
|             }, | ||||
|             "down": node => { | ||||
|                 node.navigate($.ui.keyCode.DOWN, true); | ||||
|  | ||||
|                 return false; | ||||
|             } | ||||
|         }; | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user