From d88c05494551d53b01d1c01efa5a997019a3bebd Mon Sep 17 00:00:00 2001 From: Fabian Freund Date: Tue, 6 Jan 2026 09:47:57 +0100 Subject: [PATCH] inrease animation timeout; disable animation for fab --- .../features/browser/presentation/screens/browser.dart | 4 ++-- .../widgets/browser_modules/browser_fab.dart | 9 +-------- 2 files changed, 3 insertions(+), 10 deletions(-) diff --git a/app/lib/features/geckoview/features/browser/presentation/screens/browser.dart b/app/lib/features/geckoview/features/browser/presentation/screens/browser.dart index ccbb234e..f9d776be 100644 --- a/app/lib/features/geckoview/features/browser/presentation/screens/browser.dart +++ b/app/lib/features/geckoview/features/browser/presentation/screens/browser.dart @@ -187,8 +187,8 @@ class _TabBar extends HookConsumerWidget { ); return AnimatedSize( - duration: const Duration(milliseconds: 125), - curve: Curves.easeInOut, + duration: const Duration(milliseconds: 250), + curve: Curves.easeInOutQuart, child: Visibility( visible: sheetController.value != null || diff --git a/app/lib/features/geckoview/features/browser/presentation/widgets/browser_modules/browser_fab.dart b/app/lib/features/geckoview/features/browser/presentation/widgets/browser_modules/browser_fab.dart index a07e6fc2..8b0a102e 100644 --- a/app/lib/features/geckoview/features/browser/presentation/widgets/browser_modules/browser_fab.dart +++ b/app/lib/features/geckoview/features/browser/presentation/widgets/browser_modules/browser_fab.dart @@ -67,13 +67,6 @@ class BrowserFab extends HookConsumerWidget { child = const SizedBox.shrink(key: ValueKey('no_fab')); } - return AnimatedSwitcher( - key: child.key, - duration: const Duration(milliseconds: 200), - transitionBuilder: (child, animation) { - return ScaleTransition(scale: animation, child: child); - }, - child: child, - ); + return child; } }