Bring projects, wikis, and teams together with AI. AppFlowy is the AI collaborative workspace where you achieve more without losing control of your data. The leading open source Notion alternative.
Dart blogconfluence-alternativecontent-managementcontent-servicesdocumentationflutternote-takingnotion-alternativeproject-managementtask-managementteam-collaborationwiki
chore: revert auto expand feature (#5232)
Lucas.Xu10a1571910af
diff --git a/frontend/appflowy_flutter/lib/workspace/presentation/home/menu/sidebar/folder/_section_folder.dart b/frontend/appflowy_flutter/lib/workspace/presentation/home/menu/sidebar/folder/_section_folder.dartindex bde26d3955..ecd7b5f9de 100644--- a/frontend/appflowy_flutter/lib/workspace/presentation/home/menu/sidebar/folder/_section_folder.dart+++ b/frontend/appflowy_flutter/lib/workspace/presentation/home/menu/sidebar/folder/_section_folder.dart@@ -3,7 +3,6 @@ import 'package:appflowy/workspace/application/menu/sidebar_sections_bloc.dart';import 'package:appflowy/workspace/application/sidebar/folder/folder_bloc.dart';import 'package:appflowy/workspace/application/tabs/tabs_bloc.dart';import 'package:appflowy/workspace/application/user/user_workspace_bloc.dart';-import 'package:appflowy/workspace/application/view/view_bloc.dart';import 'package:appflowy/workspace/presentation/home/menu/sidebar/folder/_folder_header.dart';import 'package:appflowy/workspace/presentation/home/menu/sidebar/rename_view_dialog.dart';import 'package:appflowy/workspace/presentation/home/menu/view/view_item.dart';@@ -91,17 +90,6 @@ class SectionFolder extends StatelessWidget {}context.read<TabsBloc>().openPlugin(view);-- // Delay to expand the view to prevent the view from being- // expanded when the user is trying to open the view in a new tab- // This will improve the animation performance- Future.delayed(const Duration(milliseconds: 50), () {- if (viewContext.mounted) {- viewContext- .read<ViewBloc>()- .add(const ViewEvent.setIsExpanded(true));- }- });},onTertiarySelected: (view, viewContext) =>context.read<TabsBloc>().openTab(view),