Skip to content

Commit

Permalink
Bump version.
Browse files Browse the repository at this point in the history
  • Loading branch information
Hecatoncheir committed May 26, 2022
1 parent 5b88fc4 commit c61bc6d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion lib/groups_field.dart
Original file line number Diff line number Diff line change
Expand Up @@ -394,7 +394,8 @@ class _GroupsFieldState extends State<GroupsField> {
child: RawKeyboardListener(
focusNode: _focusNode,
onKey: (event) {
if (event.logicalKey == widget.keyForTriggerRemoveField) {
if (event is RawKeyUpEvent &&
event.logicalKey == widget.keyForTriggerRemoveField) {
_isRemovedFieldKeyPressed = true;
final currentText = _textEditingController.text;
if (currentText.isEmpty) {
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: groups_field
description: Group widgets by some attribute.
publish_to: "none"
version: 0.2.0
version: 0.2.1

environment:
sdk: ">=2.17.0 <3.0.0"
Expand Down

0 comments on commit c61bc6d

Please sign in to comment.