Skip to content
Permalink
Browse files
fix(transition): useCSSTransition now correctly forwards refs
  • Loading branch information
mlaursen committed Aug 1, 2020
1 parent d0701de commit 36f832f82ada222f337d413a7044d055d5a57d58
Showing 1 changed file with 2 additions and 0 deletions.
@@ -110,8 +110,10 @@ export default function useCSSTransition<
onExited,
className,
classNames: propClassNames,
ref: propRef,
}: CSSTransitionOptions<E>): CSSTransitionReturnValue<E> {
const { rendered, stage, ref, appearing, dispatch } = useTransition<E>({
ref: propRef,
appear,
repaint: true,
timeout,

0 comments on commit 36f832f

Please sign in to comment.