mirror of
https://github.com/zhigang1992/react-navigation.git
synced 2026-04-24 04:25:34 +08:00
fix: wrong argument in onTransitionStart in stack
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user