You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We've encountered unexpected behaviour when wrapping list items that have refs (eg <input ref={key} key={key} />) in a TransitionGroup. The refs are no longer found in the component's this.refs unless you wrap each item in an extra element (eg <div key={key}><input ref={key} /></div>). The problem only seems to occur with TransitionGroup. CSSTransitionGroup works fine and I created my own test wrapper component which also worked.
Please see attached fiddle for contrived example that should focus the new list item when you click the button: http://jsfiddle.net/Zimble/gsj3E/10/