From 0c208c8cef8a3f7ba538fbbea61cd528d89a3450 Mon Sep 17 00:00:00 2001 From: squidrye Date: Tue, 10 Oct 2023 07:47:48 +0530 Subject: [PATCH] refactor: updated manual scroll linking --- .../lib/workspace/presentation/home/home_stack.dart | 2 +- .../lib/workspace/presentation/home/panes/flowy_pane.dart | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/appflowy_flutter/lib/workspace/presentation/home/home_stack.dart b/frontend/appflowy_flutter/lib/workspace/presentation/home/home_stack.dart index cc6ab21fec7f..d95216ebc59a 100644 --- a/frontend/appflowy_flutter/lib/workspace/presentation/home/home_stack.dart +++ b/frontend/appflowy_flutter/lib/workspace/presentation/home/home_stack.dart @@ -363,7 +363,7 @@ class _HomeBodyState extends State { _timer?.cancel(); - _timer = Timer(const Duration(milliseconds: 20), () { + _timer = Timer(const Duration(milliseconds: 300), () { absorbTapsNotifier.value = true; _timer?.cancel(); }); diff --git a/frontend/appflowy_flutter/lib/workspace/presentation/home/panes/flowy_pane.dart b/frontend/appflowy_flutter/lib/workspace/presentation/home/panes/flowy_pane.dart index 577d2e84a08f..0a760a70e598 100644 --- a/frontend/appflowy_flutter/lib/workspace/presentation/home/panes/flowy_pane.dart +++ b/frontend/appflowy_flutter/lib/workspace/presentation/home/panes/flowy_pane.dart @@ -124,7 +124,7 @@ class _FlowyPaneState extends State { verticalController.animateTo( outerScrollExtent, - duration: const Duration(milliseconds: 300), + duration: const Duration(milliseconds: 10), curve: Curves.easeInOut, ); }