File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
react-native/ReactAndroid/src/main/java/com/facebook/react/runtime
rn-tester/js/examples/ScrollView Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -66,6 +66,7 @@ import com.facebook.react.uimanager.UIManagerModule
66
66
import com.facebook.react.uimanager.events.BlackHoleEventDispatcher
67
67
import com.facebook.react.uimanager.events.EventDispatcher
68
68
import com.facebook.react.views.imagehelper.ResourceDrawableIdHelper
69
+ import com.facebook.react.views.view.applyEdgeToEdge
69
70
import java.lang.ref.WeakReference
70
71
import java.util.concurrent.CopyOnWriteArrayList
71
72
import java.util.concurrent.Executor
@@ -616,6 +617,8 @@ public class ReactHostImpl(
616
617
617
618
@ThreadConfined(ThreadConfined .UI )
618
619
override fun onConfigurationChanged (context : Context ) {
620
+ UiThreadUtil .runOnUiThread { currentActivity?.window?.applyEdgeToEdge() }
621
+
619
622
val currentReactContext = this .currentReactContext
620
623
if (currentReactContext != null ) {
621
624
if (ReactNativeFeatureFlags .enableFontScaleChangesUpdatingLayout()) {
Original file line number Diff line number Diff line change @@ -37,7 +37,6 @@ export function ScrollViewIndicatorInsetsExample() {
37
37
visible = { modalVisible }
38
38
onRequestClose = { ( ) => setModalVisible ( false ) }
39
39
presentationStyle = "fullScreen"
40
- statusBarTranslucent = { false }
41
40
supportedOrientations = { [ 'portrait' , 'landscape' ] } >
42
41
< View style = { styles . modal } >
43
42
< ScrollView
You can’t perform that action at this time.
0 commit comments