mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-03-24 20:36:56 +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…
x
Reference in New Issue
Block a user