Skip to content
This repository was archived by the owner on Feb 25, 2020. It is now read-only.

Commit 9386503

Browse files
committed
fix: wrong argument in onTransitionStart in stack
1 parent 562f49f commit 9386503

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/views/Stack/Card.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -418,7 +418,7 @@ export default class Card extends React.Component<Props> {
418418
// It's especially vital for having inputs properly focused.
419419
this.handleStartInteraction();
420420
const { onTransitionStart } = this.props;
421-
onTransitionStart && onTransitionStart({ closing: true });
421+
onTransitionStart && onTransitionStart({ closing: false });
422422
this.handleTransitionEnd();
423423
this.props.onOpen(true);
424424
}

0 commit comments

Comments
 (0)