@morphika/andami 0.5.10 → 0.5.11
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.
|
@@ -374,12 +374,19 @@ export default function SectionV2Renderer({ section, pageEnterAnimation, fillHei
|
|
|
374
374
|
</section>
|
|
375
375
|
);
|
|
376
376
|
|
|
377
|
-
// Section-level enter animation (without stagger — wraps entire section)
|
|
377
|
+
// Section-level enter animation (without stagger — wraps entire section).
|
|
378
|
+
// When fillHeight is on, propagate height + flex through the animation
|
|
379
|
+
// wrapper so the section + grid + column can stretch to the slide's 100vh.
|
|
380
|
+
// Without this, the wrapper's natural height (= content) collapses the chain
|
|
381
|
+
// and `align_v` has no spare space to apply.
|
|
378
382
|
let result: React.ReactNode = sectionContent;
|
|
379
383
|
|
|
380
384
|
if (hasAnimation && !staggerEnabled && resolvedSectionEnter) {
|
|
381
385
|
result = (
|
|
382
|
-
<EnterAnimationWrapper
|
|
386
|
+
<EnterAnimationWrapper
|
|
387
|
+
config={resolvedSectionEnter}
|
|
388
|
+
style={fillHeight ? { height: "100%", display: "flex", flexDirection: "column" } : undefined}
|
|
389
|
+
>
|
|
383
390
|
{result}
|
|
384
391
|
</EnterAnimationWrapper>
|
|
385
392
|
);
|
package/lib/version.ts
CHANGED
package/package.json
CHANGED