mirror of
				https://github.com/Jermolene/TiddlyWiki5
				synced 2025-10-31 07:32:59 +00:00 
			
		
		
		
	Remove transform at end of classic list view insertion animation
Leaving the transform makes a new positioning context without updating offsetParent
This commit is contained in:
		| @@ -35,6 +35,7 @@ ClassicListView.prototype.insert = function(index) { | |||||||
| 	targetElement.addEventListener($tw.utils.convertEventName("transitionEnd"),function(event) { | 	targetElement.addEventListener($tw.utils.convertEventName("transitionEnd"),function(event) { | ||||||
| 		$tw.utils.setStyle(targetElement,[ | 		$tw.utils.setStyle(targetElement,[ | ||||||
| 			{transition: "none"}, | 			{transition: "none"}, | ||||||
|  | 			{transform: "none"}, | ||||||
| 			{marginBottom: "auto"} | 			{marginBottom: "auto"} | ||||||
| 		]); | 		]); | ||||||
| 	},false); | 	},false); | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Jeremy Ruston
					Jeremy Ruston