Skip to content
This repository was archived by the owner on Nov 3, 2021. It is now read-only.

No way to set duration or speed on VelocityTransitionGroup #248

Open
jeremyblalock opened this issue Jan 5, 2019 · 0 comments
Open

No way to set duration or speed on VelocityTransitionGroup #248

jeremyblalock opened this issue Jan 5, 2019 · 0 comments

Comments

@jeremyblalock
Copy link

jeremyblalock commented Jan 5, 2019

Hi, I may be missing something, but I don't see any props available set the duration of the transition on VelocityTransitionGroup. Inspecting the source code, it appears that the timeout is set to null (i.e. the default) in VelocityTransitionGroup.js:

   130     return React.createElement(                                         
   131       Transition,                                                       
   132       {                                                                 
   133         ...transitionProps,                                             
>> 134         timeout: null,                                                  
   135         addEndListener: this.endListener,                               
   136         appear: true,                                                   
   137         onEnter: this.componentWillEnter,                               
   138         onExit: this.componentWillExit,                                 
   139       },                                                                
   140       this.props.children                                               
   141     );                                                                  

Am I missing something? If it is not currently possible to set the transition duration, does anyone have tips on the easiest way to implement this?

Any suggestions appreciated!

# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant