TF-4013 Collapse all recipients fields when unfocus

(cherry picked from commit cd2c2db33a242d22a06265dca5fa4601753957ab)
This commit is contained in:
dab246
2025-10-06 12:46:53 +07:00
committed by Dat H. Pham
parent 7ef7aae2ce
commit dd1d1f10fd
14 changed files with 705 additions and 369 deletions
@@ -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(