Skip to content

Commit bc37037

Browse files
asjqkkkklizichen
authored andcommitted
fix: #425
1 parent 6bba637 commit bc37037

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

packages/scrollable_positioned_list/lib/src/scrollable_positioned_list.dart

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -338,9 +338,8 @@ class _ScrollablePositionedListState extends State<ScrollablePositionedList>
338338
return LayoutBuilder(
339339
builder: (context, constraints) {
340340
final cacheExtent = _cacheExtent(constraints);
341-
return GestureDetector(
342-
onPanDown: (_) => _stopScroll(canceled: true),
343-
excludeFromSemantics: true,
341+
return Listener(
342+
onPointerDown: (_) => _stopScroll(canceled: true),
344343
child: Stack(
345344
children: <Widget>[
346345
PostMountCallback(

0 commit comments

Comments
 (0)