Commit fa29a6f
fix(tables): clean up width on delete-column redo, suppress click during drag
- Redo path for delete-column now removes the column's width from
metadata and local state, preventing stale width entries
- Add didDragRef to ColumnHeaderMenu to suppress the click event
that fires after a drag operation, preventing selection flash
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent d7a5212 commit fa29a6f
File tree
2 files changed
+17
-1
lines changed- apps/sim
- app/workspace/[workspaceId]/tables/[tableId]/components/table
- hooks
2 files changed
+17
-1
lines changedLines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3099 | 3099 | | |
3100 | 3100 | | |
3101 | 3101 | | |
| 3102 | + | |
3102 | 3103 | | |
3103 | 3104 | | |
3104 | 3105 | | |
| |||
3146 | 3147 | | |
3147 | 3148 | | |
3148 | 3149 | | |
| 3150 | + | |
3149 | 3151 | | |
3150 | 3152 | | |
3151 | 3153 | | |
| |||
3194 | 3196 | | |
3195 | 3197 | | |
3196 | 3198 | | |
| 3199 | + | |
| 3200 | + | |
| 3201 | + | |
| 3202 | + | |
3197 | 3203 | | |
3198 | 3204 | | |
3199 | 3205 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
254 | 254 | | |
255 | 255 | | |
256 | 256 | | |
| 257 | + | |
257 | 258 | | |
258 | 259 | | |
259 | 260 | | |
260 | | - | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
261 | 271 | | |
262 | 272 | | |
263 | 273 | | |
| |||
0 commit comments