Skip to content

Commit 20b4e5d

Browse files
authored
Merge pull request #538 from AppFlowy-IO/fix/grid_scroll_bar
chore: fix grid scollbar not visible after screen size changed
2 parents 9b64515 + ad5ab10 commit 20b4e5d

File tree

3 files changed

+1
-5
lines changed

3 files changed

+1
-5
lines changed

frontend/app_flowy/lib/workspace/presentation/home/home_screen.dart

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ import 'home_stack.dart';
1818
import 'menu/menu.dart';
1919

2020
class HomeScreen extends StatefulWidget {
21-
static GlobalKey<ScaffoldState> scaffoldKey = GlobalKey();
2221
final UserProfile user;
2322
final CurrentWorkspaceSetting workspaceSetting;
2423
const HomeScreen(this.user, this.workspaceSetting, {Key? key}) : super(key: key);
@@ -52,7 +51,6 @@ class _HomeScreenState extends State<HomeScreen> {
5251
),
5352
],
5453
child: Scaffold(
55-
key: HomeScreen.scaffoldKey,
5654
body: BlocListener<HomeBloc, HomeState>(
5755
listenWhen: (p, c) => p.unauthorized != c.unauthorized,
5856
listener: (context, state) {

frontend/app_flowy/lib/workspace/presentation/home/home_stack.dart

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,6 @@ import 'package:flowy_infra/notifier.dart';
2121
typedef NavigationCallback = void Function(String id);
2222

2323
class HomeStack extends StatelessWidget {
24-
static GlobalKey<ScaffoldState> scaffoldKey = GlobalKey();
25-
// final Size size;
2624
const HomeStack({Key? key}) : super(key: key);
2725

2826
@override

frontend/app_flowy/packages/flowy_infra_ui/lib/style_widget/scrolling/styled_scrollview.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ class StyledSingleChildScrollView extends StatefulWidget {
2323
this.handleColor,
2424
this.controller,
2525
this.scrollbarPadding,
26-
this.barSize = 6,
26+
this.barSize = 12,
2727
}) : super(key: key);
2828

2929
@override

0 commit comments

Comments
 (0)