@r2digisolutions/ui 0.24.4 → 0.24.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -124,6 +124,7 @@
|
|
|
124
124
|
) {
|
|
125
125
|
e.preventDefault();
|
|
126
126
|
const columnIndex = columnId ? manager.state.visibleColumns.indexOf(columnId) : null;
|
|
127
|
+
// Always set fresh coordinates and ensure menu is closed before reopening
|
|
127
128
|
if (rightMenu.open) {
|
|
128
129
|
rightMenu = { open: false, x: 0, y: 0 };
|
|
129
130
|
setTimeout(() => {
|
|
@@ -147,6 +148,7 @@
|
|
|
147
148
|
return manager.state.items.filter((r) => ids.has(rowId(r)));
|
|
148
149
|
}
|
|
149
150
|
|
|
151
|
+
// Tracks
|
|
150
152
|
function colTrack(cId: string, measuring: boolean) {
|
|
151
153
|
if (measuring) return 'max-content';
|
|
152
154
|
const c = manager.getColumn(cId);
|
|
@@ -289,7 +291,7 @@
|
|
|
289
291
|
data-dt-cell="1"
|
|
290
292
|
data-col-id={cid}
|
|
291
293
|
data-row-index={i}
|
|
292
|
-
class="
|
|
294
|
+
class="px-3"
|
|
293
295
|
onclick={() => onRowClick?.(row)}
|
|
294
296
|
oncontextmenu={(e) => onCellContext(e, row, cid, i)}
|
|
295
297
|
>
|