mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-05-18 07:14:07 +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) {
|
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);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user