TF-1862: Add ADR for ticket about how to use Draggable on the web
(cherry picked from commit 8e4f767625ee12a3290223beec5cdfc4cf141b9c)
This commit is contained in:
@@ -360,10 +360,7 @@ class ThreadView extends GetWidget<ThreadController>
|
||||
Widget _buildEmailItemDraggable(BuildContext context, PresentationEmail presentationEmail) {
|
||||
return GestureDetector(
|
||||
behavior: HitTestBehavior.translucent,
|
||||
onSecondaryTapDown: (details) {
|
||||
// 1. Use empty callback to disable D&D on mouse right button
|
||||
// 2. Call `showMenu` to show context menu
|
||||
},
|
||||
onSecondaryTapDown: (_) {},
|
||||
child: Draggable<List<PresentationEmail>>(
|
||||
data: controller.listEmailDrag,
|
||||
feedback: _buildFeedBackWidget(context),
|
||||
|
||||
Reference in New Issue
Block a user