Skip to content

Commit d5c3b40

Browse files
Add comment
1 parent 720048e commit d5c3b40

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

android/src/main/java/com/swmansion/rnscreens/ScreenStack.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -336,6 +336,7 @@ class ScreenStack(context: Context?) : ScreenContainer(context) {
336336
fragmentWrapper.screen.stackPresentation === Screen.StackPresentation.TRANSPARENT_MODAL
337337

338338
private fun needsDrawReordering(fragmentWrapper: ScreenFragmentWrapper): Boolean =
339+
// On Android sdk 33 and above the animation is different and requires draw reordering.
339340
Build.VERSION.SDK_INT >= Build.VERSION_CODES.TIRAMISU ||
340341
fragmentWrapper.screen.stackAnimation === StackAnimation.SLIDE_FROM_BOTTOM ||
341342
fragmentWrapper.screen.stackAnimation === StackAnimation.FADE_FROM_BOTTOM ||

0 commit comments

Comments
 (0)