TF-4013 Collapse all recipients fields when unfocus
(cherry picked from commit cd2c2db33a242d22a06265dca5fa4601753957ab)
This commit is contained in:
@@ -149,20 +149,26 @@ class _SmartInteractionWidgetState extends State<SmartInteractionWidget> {
|
||||
_lastPointerEventOffset = event.position;
|
||||
}
|
||||
},
|
||||
child: MouseRegion(
|
||||
cursor: SystemMouseCursors.click,
|
||||
child: GestureDetector(
|
||||
onDoubleTap: _handleDoubleTap,
|
||||
onTap: _handleOnTapAction,
|
||||
child: widget.child,
|
||||
),
|
||||
),
|
||||
);
|
||||
} else {
|
||||
return MouseRegion(
|
||||
cursor: SystemMouseCursors.click,
|
||||
child: GestureDetector(
|
||||
key: _childKey,
|
||||
behavior: HitTestBehavior.opaque,
|
||||
onDoubleTap: _handleDoubleTap,
|
||||
onTap: _handleOnTapAction,
|
||||
child: widget.child,
|
||||
),
|
||||
);
|
||||
} else {
|
||||
return GestureDetector(
|
||||
key: _childKey,
|
||||
behavior: HitTestBehavior.opaque,
|
||||
onDoubleTap: _handleDoubleTap,
|
||||
onTap: _handleOnTapAction,
|
||||
child: widget.child,
|
||||
);
|
||||
}
|
||||
} else {
|
||||
return GestureDetector(
|
||||
|
||||
Reference in New Issue
Block a user