From 79d3ec38a6858b40bd8bbc45e889783553e4a143 Mon Sep 17 00:00:00 2001 From: Sean Kelly Date: Thu, 10 Jul 2025 00:41:26 +0100 Subject: [PATCH] Update index.android.ts For the modal dialogs, this removes the white with shape edges that can appear when a modal with radiused borders is used. --- packages/core/ui/core/view/index.android.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/core/ui/core/view/index.android.ts b/packages/core/ui/core/view/index.android.ts index efea8e349d..c6aaa7eeb1 100644 --- a/packages/core/ui/core/view/index.android.ts +++ b/packages/core/ui/core/view/index.android.ts @@ -223,6 +223,10 @@ function initializeDialogFragment() { dialog.setCanceledOnTouchOutside(this._cancelable); + dialog.getWindow().setBackgroundDrawable( + new android.graphics.drawable.ColorDrawable(android.graphics.Color.TRANSPARENT) + ); + return dialog; }