Skip to content

A local-first personal finance app

Fix blur performance issue in Safari (#1646)

Joel Jeremy Marquez3eb09b66ec13
diff --git a/packages/desktop-client/src/components/PrivacyFilter.tsx b/packages/desktop-client/src/components/PrivacyFilter.tsx
index d840cbc12a..a1d038f5f9 100644
--- a/packages/desktop-client/src/components/PrivacyFilter.tsx
+++ b/packages/desktop-client/src/components/PrivacyFilter.tsx
@@ -85,6 +85,9 @@ function BlurredOverlay({ blurIntensity, children, ...props }) {
...(!hovered && {
filter: `blur(${blurIntensity})`,
WebkitFilter: `blur(${blurIntensity})`,
+ // To fix blur performance issue in Safari.
+ // https://graffino.com/til/CjT2jrcLHP-how-to-fix-filter-blur-performance-issue-in-safari
+ transform: `translate3d(0, 0, 0)`,
}),
};
diff --git a/upcoming-release-notes/1646.md b/upcoming-release-notes/1646.md
new file mode 100644
index 0000000000..39e9a44097
--- /dev/null
+++ b/upcoming-release-notes/1646.md
@@ -0,0 +1,6 @@
+---
+category: Bugfix
+authors: [joel-jeremy]
+---
+
+Fix blur performance issue in Safari.