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 :)
Hey @asbjornh !
I'd like to request a feature - would it be possible to add a new
delayprop which would introduce atransition-delay? Kind of like in this similar library. Currently I'm using auseDebouncehook to "slow down" the update of the boolean variable forisOpen, whenever I want to close the collapse with some delay. Something like:But this feels a bit cumbersome. A dedicated
delayproperty, ideally with separate values for expanding and collapsing, would be much more convenient.Thank you :)