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
Would it be possible for the slide transition itself to add the required child <div>?
Then it might "just work."
(I guess there are still specific CSS requirements like non-shifting table layout. It would "just work," but it might look odd. Especially when text wrapping is not disabled.)
Describe the bug
The
slide
transition can be made to work for elements withdisplay:
table-row
, andtable-cell
. (With specific HTML/CSS)display:
types listed by the warning.From the PR:
display: table
and friends are important because sometimes it is better to use a table over gridSince some extra user effort is required I suggest:
Optional: add an
axis: auto
that uses the same axis as its parent slide transition when slide animations are nested and happen at the same time.slideParent
orslideX
/slideY
set global slide axisslideChild
orslideAuto
use the global slide axis set abovePerhaps someone more knowledgeable can fix my attempt at making the auto-axis slide transition:
Reproduction
https://svelte.dev/playground/7af27a01079e4e0d81f4ff95cf5d46ba
Severity
annoyance
The text was updated successfully, but these errors were encountered: