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:
parent
96145982d9
commit
04223a3d81
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue
Block a user