Skip to content

📈 Open source, privacy-first web analytics — a cookie-less Google Analytics alternative with built-in error tracking and performance monitoring. Self-host it or use our cloud. Get started for free!

fix: firefox flickering

Blue Mouse296f25684bbb
diff --git a/web/app/pages/Onboarding/Onboarding.tsx b/web/app/pages/Onboarding/Onboarding.tsx
index 5bea4f1fd..9454c366b 100644
--- a/web/app/pages/Onboarding/Onboarding.tsx
+++ b/web/app/pages/Onboarding/Onboarding.tsx
@@ -94,10 +94,12 @@ const slideVariants = {
enter: (direction: number) => ({
x: direction > 0 ? 40 : -40,
opacity: 0,
+ z: 0,
}),
center: {
x: 0,
opacity: 1,
+ z: 0,
transition: {
duration: ANIMATION_DURATION,
ease: EASE_OUT_QUART,
@@ -106,6 +108,7 @@ const slideVariants = {
exit: (direction: number) => ({
x: direction < 0 ? 40 : -40,
opacity: 0,
+ z: 0,
transition: {
duration: EXIT_DURATION,
ease: EASE_OUT_QUART,
@@ -651,6 +654,10 @@ const Onboarding = () => {
animate='center'
exit='exit'
className='px-6 py-6 md:px-10'
+ style={{
+ backfaceVisibility: 'hidden',
+ willChange: 'transform, opacity',
+ }}
>
{currentStep === 'language' && (
<div>