mirror of
https://github.com/zhigang1992/react-navigation.git
synced 2026-04-28 20:35:19 +08:00
fix: fix typo preventing the screen from being cleaned up
This commit is contained in:
@@ -55,7 +55,7 @@ export default class StackItem extends React.PureComponent<Props> {
|
|||||||
this.props.onOpenRoute({ route: this.props.scene.route });
|
this.props.onOpenRoute({ route: this.props.scene.route });
|
||||||
|
|
||||||
private handleClose = () =>
|
private handleClose = () =>
|
||||||
this.props.onOpenRoute({ route: this.props.scene.route });
|
this.props.onCloseRoute({ route: this.props.scene.route });
|
||||||
|
|
||||||
private handleTransitionStart = ({ closing }: { closing: boolean }) => {
|
private handleTransitionStart = ({ closing }: { closing: boolean }) => {
|
||||||
const { index, scene, onTransitionStart, onGoBack } = this.props;
|
const { index, scene, onTransitionStart, onGoBack } = this.props;
|
||||||
|
|||||||
Reference in New Issue
Block a user