Graflow: subflow enter/exit tween aligned with tween param
This commit is contained in:
+1
-1
@@ -308,7 +308,7 @@ class BZgraflow extends Buildoz{
|
||||
|
||||
// Force style flush, then animate back to identity (full parent size)
|
||||
childEl.getBoundingClientRect()
|
||||
childEl.style.transition = 'transform 1000ms ease-in-out'
|
||||
childEl.style.transition = `transform ${parseInt(this.getBZAttribute('tween')) || 500}ms ease-in-out`
|
||||
requestAnimationFrame(() => {
|
||||
childEl.style.top = 0;
|
||||
childEl.style.left = 0;
|
||||
|
||||
Reference in New Issue
Block a user