1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-07-01 17:53:15 +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:
Jeremy Ruston 2012-11-04 17:28:51 +00:00
parent 96145982d9
commit 04223a3d81

View File

@ -35,6 +35,7 @@ ClassicListView.prototype.insert = function(index) {
targetElement.addEventListener($tw.utils.convertEventName("transitionEnd"),function(event) {
$tw.utils.setStyle(targetElement,[
{transition: "none"},
{transform: "none"},
{marginBottom: "auto"}
]);
},false);