useTransition
: the "transitioned" option and elements that begin "visible"
#119
Milestone
useTransition
: the "transitioned" option and elements that begin "visible"
#119
Hi again!
I've noticed what is, probably, just a missing spot in the docs for the new
useTransition
.Suppose that you have an element that starts in a visible state (unlike a drop-down, which is hidden and only shown later):
(where the
element
option is set tothis.boxToCloseTarget
).With this setup, on load, the
boxToClose
element is immediately hidden. Is that expected? What I mean is, if your element begins visible, it is required to pass thetransitioned: true
option when initializinguseTransition
(and so, this is something that just needs a mention in the docs)? Or is this not the expected behavior.Thanks!
The text was updated successfully, but these errors were encountered: