Skip to content

Commit

Permalink
Fix for scrollbar clickthrough
Browse files Browse the repository at this point in the history
This change prevents the selection dropdown from closing when a user attempts to drag the dropdown scrollbar
  • Loading branch information
BrayFlex committed Jun 1, 2023
1 parent c4debd3 commit e623b23
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/src/material/suggestions_box/suggestions_list.dart
Original file line number Diff line number Diff line change
Expand Up @@ -428,6 +428,8 @@ class _SuggestionsListState<T> extends State<SuggestionsList<T>>
);
}

child = TextFieldTapRegion(child: child);

return child;
}

Expand Down Expand Up @@ -465,6 +467,8 @@ class _SuggestionsListState<T> extends State<SuggestionsList<T>>
);
}

child = TextFieldTapRegion(child: child);

return child;
}
}

0 comments on commit e623b23

Please sign in to comment.