You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<span class="fragment fade-in">
<span class="fragment highlight-red">
<span class="fragment fade-out">
Fade in > Turn red > Fade out
</span>
</span>
</span>
Using the same syntax and block elements, the fragments are not processed correctly (everything is visible from the beginning on; nothing is highlighted red; but fade-out works).
<p class="fragment fade-in">
<p class="fragment highlight-red">
<p class="fragment fade-out">
Fade in > Turn red > Fade out
</p>
</p>
</p>
Is this the intended behavior? Is there a workaround to get nested fragments working for block elements?
The text was updated successfully, but these errors were encountered:
jonasallgeier
changed the title
Nested Fragments Do Not Work For Block Elements
Nested fragments do not work for block elements
Sep 22, 2020
I believe I found the answer... nesting block elements in general does not seem to be a good idea, since each new block element automatically closes the previous one, which explains why only the last fragment is shown.
The following works as expected:
Using the same syntax and block elements, the fragments are not processed correctly (everything is visible from the beginning on; nothing is highlighted red; but fade-out works).
Is this the intended behavior? Is there a workaround to get nested fragments working for block elements?
The text was updated successfully, but these errors were encountered: