Invisible strategy for transitions (or data-open
attribute)
#3676
aaronadamsCA
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'd like some way to accomplish an "invisible" transition strategy, so I can set
visibility: hidden
instead ofdisplay: none
while an element is not shown.My use case is transitions between different-sized elements. My only choices today are
RenderStrategy.Unmount
andRenderStrategy.Hidden
, neither of which will hold space when an element is no longer shown.If you were doing this in a major version, I'd say the best headless solution would be a
data-open
attribute to let us setdata-open:hidden
ordata-open:invisible
depending on our specific needs.Beta Was this translation helpful? Give feedback.
All reactions