This repository was archived by the owner on Feb 25, 2020. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -556,7 +556,7 @@ diff -Naur node_modules/@react-navigation/stack/src/views/Stack/StackView.tsx sr
556556- });
557557+ ) => {
558558+ const { descriptors } = this.props;
559- + const descriptor = descriptors[route.key];
559+ + const descriptor = descriptors[route.key] || this.state.descriptors[route.key] ;
560560+
561561+ descriptor &&
562562+ descriptor.options.onTransitionStart &&
@@ -574,7 +574,7 @@ diff -Naur node_modules/@react-navigation/stack/src/views/Stack/StackView.tsx sr
574574- });
575575+ ) => {
576576+ const { descriptors } = this.props;
577- + const descriptor = descriptors[route.key];
577+ + const descriptor = descriptors[route.key] || this.state.descriptors[route.key] ;
578578+
579579+ descriptor &&
580580+ descriptor.options.onTransitionEnd &&
You can’t perform that action at this time.
0 commit comments