mirror of
https://github.com/zhigang1992/react-navigation.git
synced 2026-04-24 04:25:34 +08:00
fix: add check when accessing next descriptor (#9824)
This commit is contained in:
@@ -326,7 +326,7 @@ export default class CardStack extends React.Component<Props, State> {
|
||||
),
|
||||
next:
|
||||
nextGesture &&
|
||||
nextDescriptor.options.presentation !== 'transparentModal'
|
||||
nextDescriptor?.options.presentation !== 'transparentModal'
|
||||
? getProgressFromGesture(
|
||||
nextGesture,
|
||||
state.layout,
|
||||
|
||||
Reference in New Issue
Block a user