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

Commit 7cecfcf

Browse files
committed
fix: fix border radius of modal presentation
1 parent 1f6fc61 commit 7cecfcf

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

src/TransitionConfigs/CardStyleInterpolators.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,7 @@ export function forModalPresentationIOS({
115115

116116
return {
117117
cardStyle: {
118+
overflow: 'hidden',
118119
borderTopLeftRadius: borderRadius,
119120
borderTopRightRadius: borderRadius,
120121
marginTop: index === 0 ? 0 : statusBarHeight,

src/navigators/__tests__/__snapshots__/NestedNavigator.test.tsx.snap

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -356,7 +356,7 @@ Array [
356356
"top": 0,
357357
},
358358
Object {
359-
"opacity": NOOP {},
359+
"opacity": undefined,
360360
},
361361
]
362362
}
@@ -494,7 +494,7 @@ Array [
494494
"top": 0,
495495
},
496496
Object {
497-
"opacity": NOOP {},
497+
"opacity": undefined,
498498
},
499499
]
500500
}

src/navigators/__tests__/__snapshots__/StackNavigator.test.tsx.snap

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ Array [
203203
"top": 0,
204204
},
205205
Object {
206-
"opacity": NOOP {},
206+
"opacity": undefined,
207207
},
208208
]
209209
}
@@ -521,7 +521,7 @@ Array [
521521
"top": 0,
522522
},
523523
Object {
524-
"opacity": NOOP {},
524+
"opacity": undefined,
525525
},
526526
]
527527
}

0 commit comments

Comments
 (0)