Closed ecjs closed 6 years ago
It looks like the author mixed up the v1 and v2 API. The timeout
is required unless provide addEventListener
. The transitionEnterTimeout
is only in v1 api.
Refs:
getting the same error here, clogging up the console
Do you want a PR to fix this @steelydylan or @plag?
@ecjs yes Please give us the PR, if you can.
When the
timeout
prop was removed in commit cd406dae8f3389a433cd60c5d39716507a08da81 it created propType errors:Failed prop type: The prop
timeout
is marked as required inCSSTransition
, but its value isundefined
.I am not super familiar with react-transition-group, but when I looked at the documentation, I only see references to the
timeout
prop, not the newly addedtransitionEnterTimeout
andtransitionLeaveTimeout
, I believe these are removed from newer versions.Am I missing something here?