Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| e4c4bb7f86 | |||
| 2159c3881f | |||
| e1e5e8afce | |||
| 6641575423 |
+1
-1
@@ -308,7 +308,7 @@ class BZgraflow extends Buildoz{
|
|||||||
|
|
||||||
// Force style flush, then animate back to identity (full parent size)
|
// Force style flush, then animate back to identity (full parent size)
|
||||||
childEl.getBoundingClientRect()
|
childEl.getBoundingClientRect()
|
||||||
childEl.style.transition = 'transform 1000ms ease-in-out'
|
childEl.style.transition = `transform ${parseInt(this.getBZAttribute('tween')) || 500}ms ease-in-out`
|
||||||
requestAnimationFrame(() => {
|
requestAnimationFrame(() => {
|
||||||
childEl.style.top = 0;
|
childEl.style.top = 0;
|
||||||
childEl.style.left = 0;
|
childEl.style.left = 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user