mirror of
				https://github.com/flynx/PortableMag.git
				synced 2025-10-31 12:00:11 +00:00 
			
		
		
		
	fixed the tab scroll issue...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
		
							parent
							
								
									bffee17553
								
							
						
					
					
						commit
						f64db62e88
					
				
							
								
								
									
										10
									
								
								TODO.otl
									
									
									
									
									
								
							
							
						
						
									
										10
									
								
								TODO.otl
									
									
									
									
									
								
							| @ -1,5 +1,5 @@ | |||||||
| [_] 38% Priority work | [_] 39% Priority work | ||||||
| 	[_] 75% general todo | 	[_] 76% general todo | ||||||
| 		[_] 0% Priority work for 10.03.13 | 		[_] 0% Priority work for 10.03.13 | ||||||
| 			[_] load/save from JSON | 			[_] load/save from JSON | ||||||
| 			[_] add page via template | 			[_] add page via template | ||||||
| @ -102,8 +102,6 @@ | |||||||
| 			[X] title | 			[X] title | ||||||
| 			[X] name | 			[X] name | ||||||
| 		[_] BUG: 3 fingers+ do not work on android... | 		[_] BUG: 3 fingers+ do not work on android... | ||||||
| 		[_] BUG: tab navigation will scroll the view... |  | ||||||
| 		| need to either prevent tab nav or control it so as not to get off page... |  | ||||||
| 		[_] 70% build a custom scroll lib... | 		[_] 70% build a custom scroll lib... | ||||||
| 			[X] 100% features: | 			[X] 100% features: | ||||||
| 				[X] drag/scroll | 				[X] drag/scroll | ||||||
| @ -172,6 +170,10 @@ | |||||||
| 			[_] try using the scroll event to see of we reached the limit... | 			[_] try using the scroll event to see of we reached the limit... | ||||||
| 			| and move the limit accordingly | 			| and move the limit accordingly | ||||||
| 			[_] BUG: scrool seems to do odd things on refresh... | 			[_] BUG: scrool seems to do odd things on refresh... | ||||||
|  | 		[X] BUG: tab navigation will scroll the view... | ||||||
|  | 		| need to either prevent tab nav or control it so as not to get off page... | ||||||
|  | 		| | ||||||
|  | 		| now tabs switch pages. | ||||||
| 		[X] Editor: add toggleEditiorMode to all editables in all versions... | 		[X] Editor: add toggleEditiorMode to all editables in all versions... | ||||||
| 		| text areas, inputs, ... | 		| text areas, inputs, ... | ||||||
| 		[X] add global credits and copyright page... | 		[X] add global credits and copyright page... | ||||||
|  | |||||||
| @ -191,6 +191,7 @@ var keyboard_config = { | |||||||
| 			default: nextPage, | 			default: nextPage, | ||||||
| 			shift: prevPage	 | 			shift: prevPage	 | ||||||
| 		}, | 		}, | ||||||
|  | 		Tab: 'Space', | ||||||
| 		Enter: function(){ togglePageView('on') }, | 		Enter: function(){ togglePageView('on') }, | ||||||
| 		// combined navigation with actions.. | 		// combined navigation with actions.. | ||||||
| 		Up: function(){ togglePageView() }, | 		Up: function(){ togglePageView() }, | ||||||
|  | |||||||
| @ -415,6 +415,7 @@ function setCurrentPage(n, use_transitions){ | |||||||
| 
 | 
 | ||||||
| 	$('.viewer').trigger('pageChanged', n) | 	$('.viewer').trigger('pageChanged', n) | ||||||
| 
 | 
 | ||||||
|  | 	$(':focus').blur() | ||||||
| 	return cur | 	return cur | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
|  | |||||||
| @ -165,6 +165,7 @@ function makeKeyboardHandler(keybindings, unhandled){ | |||||||
| 					} | 					} | ||||||
| 				} else { | 				} else { | ||||||
| 					// simple callback...
 | 					// simple callback...
 | ||||||
|  | 					//res = handler(evt) 
 | ||||||
| 					res = handler()  | 					res = handler()  | ||||||
| 					// if the handler explicitly returned false break out...
 | 					// if the handler explicitly returned false break out...
 | ||||||
| 					if(res === false){ | 					if(res === false){ | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user