-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
Hey @asbjornh !
I'd like to request a feature - would it be possible to add a new delay prop which would introduce a transition-delay ? Kind of like in this similar library. Currently I'm using a useDebounce hook to "slow down" the update of the boolean variable for isOpen, whenever I want to close the collapse with some delay. Something like:
<TinyCollapse isOpen={visible || debouncedVisible}>...</TinyCollapse>But this feels a bit cumbersome. A dedicated delay property, ideally with separate values for expanding and collapsing, would be much more convenient.
Thank you :)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels