File tree Expand file tree Collapse file tree 2 files changed +10
-50
lines changed
frontend/app_flowy/lib/workspace/presentation/plugins/grid/src/widgets/row Expand file tree Collapse file tree 2 files changed +10
-50
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -152,6 +152,15 @@ class _RowDetailCell extends StatelessWidget {
152152 final style = _customCellStyle (theme, gridCell.field.fieldType);
153153 final cell = buildGridCellWidget (gridCell, cellCache, style: style);
154154
155+ final gesture = GestureDetector (
156+ behavior: HitTestBehavior .translucent,
157+ onTap: () => cell.requestBeginFocus.notify (),
158+ child: AccessoryHover (
159+ child: cell,
160+ contentPadding: const EdgeInsets .symmetric (horizontal: 10 , vertical: 12 ),
161+ ),
162+ );
163+
155164 return ConstrainedBox (
156165 constraints: const BoxConstraints (minHeight: 40 ),
157166 child: IntrinsicHeight (
@@ -164,12 +173,7 @@ class _RowDetailCell extends StatelessWidget {
164173 child: FieldCellButton (field: gridCell.field, onTap: () => _showFieldEditor (context)),
165174 ),
166175 const HSpace (10 ),
167- Expanded (
168- child: AccessoryHover (
169- child: cell,
170- contentPadding: const EdgeInsets .symmetric (horizontal: 10 , vertical: 12 ),
171- ),
172- ),
176+ Expanded (child: gesture),
173177 ],
174178 ),
175179 ),
You can’t perform that action at this time.
0 commit comments