mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
Merge pull request #538 from AppFlowy-IO/fix/grid_scroll_bar
chore: fix grid scollbar not visible after screen size changed
This commit is contained in:
commit
20b4e5da7e
@ -18,7 +18,6 @@ import 'home_stack.dart';
|
|||||||
import 'menu/menu.dart';
|
import 'menu/menu.dart';
|
||||||
|
|
||||||
class HomeScreen extends StatefulWidget {
|
class HomeScreen extends StatefulWidget {
|
||||||
static GlobalKey<ScaffoldState> scaffoldKey = GlobalKey();
|
|
||||||
final UserProfile user;
|
final UserProfile user;
|
||||||
final CurrentWorkspaceSetting workspaceSetting;
|
final CurrentWorkspaceSetting workspaceSetting;
|
||||||
const HomeScreen(this.user, this.workspaceSetting, {Key? key}) : super(key: key);
|
const HomeScreen(this.user, this.workspaceSetting, {Key? key}) : super(key: key);
|
||||||
@ -52,7 +51,6 @@ class _HomeScreenState extends State<HomeScreen> {
|
|||||||
),
|
),
|
||||||
],
|
],
|
||||||
child: Scaffold(
|
child: Scaffold(
|
||||||
key: HomeScreen.scaffoldKey,
|
|
||||||
body: BlocListener<HomeBloc, HomeState>(
|
body: BlocListener<HomeBloc, HomeState>(
|
||||||
listenWhen: (p, c) => p.unauthorized != c.unauthorized,
|
listenWhen: (p, c) => p.unauthorized != c.unauthorized,
|
||||||
listener: (context, state) {
|
listener: (context, state) {
|
||||||
|
@ -21,8 +21,6 @@ import 'package:flowy_infra/notifier.dart';
|
|||||||
typedef NavigationCallback = void Function(String id);
|
typedef NavigationCallback = void Function(String id);
|
||||||
|
|
||||||
class HomeStack extends StatelessWidget {
|
class HomeStack extends StatelessWidget {
|
||||||
static GlobalKey<ScaffoldState> scaffoldKey = GlobalKey();
|
|
||||||
// final Size size;
|
|
||||||
const HomeStack({Key? key}) : super(key: key);
|
const HomeStack({Key? key}) : super(key: key);
|
||||||
|
|
||||||
@override
|
@override
|
||||||
|
@ -23,7 +23,7 @@ class StyledSingleChildScrollView extends StatefulWidget {
|
|||||||
this.handleColor,
|
this.handleColor,
|
||||||
this.controller,
|
this.controller,
|
||||||
this.scrollbarPadding,
|
this.scrollbarPadding,
|
||||||
this.barSize = 6,
|
this.barSize = 12,
|
||||||
}) : super(key: key);
|
}) : super(key: key);
|
||||||
|
|
||||||
@override
|
@override
|
||||||
|
Loading…
Reference in New Issue
Block a user