@mulanjs/mulanjs 1.0.1-dev.20260301163040 → 1.0.1-dev.20260301170213
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/core/renderer.js +1 -1
- package/dist/mulan.esm.js +1 -1
- package/dist/mulan.esm.js.map +1 -1
- package/dist/mulan.js +1 -1
- package/dist/mulan.js.map +1 -1
- package/package.json +1 -1
package/dist/core/renderer.js
CHANGED
|
@@ -75,7 +75,7 @@ function render(template, container) {
|
|
|
75
75
|
// PLAY: Animate to zero (new position)
|
|
76
76
|
requestAnimationFrame(() => {
|
|
77
77
|
// Force reflow
|
|
78
|
-
|
|
78
|
+
void htmlEl.offsetWidth;
|
|
79
79
|
htmlEl.style.transition = 'transform 500ms cubic-bezier(0.25, 0.8, 0.25, 1)';
|
|
80
80
|
htmlEl.style.transform = '';
|
|
81
81
|
});
|
package/dist/mulan.esm.js
CHANGED
|
@@ -383,7 +383,7 @@ function render(template, container) {
|
|
|
383
383
|
// PLAY: Animate to zero (new position)
|
|
384
384
|
requestAnimationFrame(() => {
|
|
385
385
|
// Force reflow
|
|
386
|
-
|
|
386
|
+
void htmlEl.offsetWidth;
|
|
387
387
|
htmlEl.style.transition = 'transform 500ms cubic-bezier(0.25, 0.8, 0.25, 1)';
|
|
388
388
|
htmlEl.style.transform = '';
|
|
389
389
|
});
|