Skip to content

Commit 131d339

Browse files
committed
Updated PopupExtension.Android.cs
1 parent bd0197e commit 131d339

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

maui/src/Popup/Helpers/PopupExtension/PopupExtension.Android.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -363,7 +363,7 @@ internal static int GetWindowInsets(string position)
363363
/// <param name="isopen">Specifies whether the popup is open or not.</param>
364364
internal static void Blur(MauiView view, SfPopup popup, bool isopen)
365365
{
366-
if (OperatingSystem.IsAndroidVersionAtLeast(31) && Shader.TileMode.Clamp is not null)
366+
if (OperatingSystem.IsAndroidVersionAtLeast(31) && Shader.TileMode.Clamp is not null && popup.GetBlurRadius() > 0)
367367
{
368368
if (IPlatformApplication.Current is not null && IPlatformApplication.Current.Application is Microsoft.Maui.Controls.Application application &&
369369
application.Windows is not null && application.Windows.Count > 0)

0 commit comments

Comments
 (0)