From 6ec73f35f519ea8114c8848c0a682e09f6cdbac0 Mon Sep 17 00:00:00 2001 From: Bai L <94514135+bai-3@users.noreply.github.com> Date: Sat, 25 Feb 2023 23:53:34 +0800 Subject: [PATCH] fixed clicking on a blank area does not respond --- lib/src/widgets/sidebarx_cell.dart | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/src/widgets/sidebarx_cell.dart b/lib/src/widgets/sidebarx_cell.dart index 63128c3..9529b23 100644 --- a/lib/src/widgets/sidebarx_cell.dart +++ b/lib/src/widgets/sidebarx_cell.dart @@ -58,6 +58,7 @@ class _SidebarXCellState extends State { cursor: SystemMouseCursors.click, child: GestureDetector( onTap: widget.onTap, + behavior: HitTestBehavior.opaque, child: Container( decoration: decoration?.copyWith( color: _hovered && !widget.selected ? theme.hoverColor : null,