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

Commit

Permalink
fix: wrong argument in onTransitionStart in stack
Browse files Browse the repository at this point in the history
  • Loading branch information
osdnk committed Oct 22, 2019
1 parent 562f49f commit 9386503
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/views/Stack/Card.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -418,7 +418,7 @@ export default class Card extends React.Component<Props> {
// It's especially vital for having inputs properly focused.
this.handleStartInteraction();
const { onTransitionStart } = this.props;
onTransitionStart && onTransitionStart({ closing: true });
onTransitionStart && onTransitionStart({ closing: false });
this.handleTransitionEnd();
this.props.onOpen(true);
}
Expand Down

0 comments on commit 9386503

Please sign in to comment.