@mmlogic/components 0.5.7 → 0.5.8
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.
- package/dist/cjs/mrd-boolean-field_25.cjs.entry.js +15 -10
- package/dist/collection/components/table/mrd-table/mrd-table.js +15 -10
- package/dist/components/mrd-table2.js +1 -1
- package/dist/esm/mrd-boolean-field_25.entry.js +15 -10
- package/dist/mosterdcomponents/mosterdcomponents.esm.js +1 -1
- package/dist/mosterdcomponents/{p-5614d8f5.entry.js → p-6f6c8e53.entry.js} +1 -1
- package/dist/types/components/table/mrd-table/mrd-table.d.ts +8 -2
- package/package.json +1 -1
|
@@ -162,8 +162,14 @@ export declare class MrdTable {
|
|
|
162
162
|
componentDidRender(): void;
|
|
163
163
|
/** Current rendered header widths, or null when they can't be trusted (header not laid out yet). */
|
|
164
164
|
private measureColWidths;
|
|
165
|
-
/**
|
|
166
|
-
|
|
165
|
+
/** Re-reads the rendered header widths into colWidths so a drag starts from what is
|
|
166
|
+
* actually on screen — and locks the columns if they weren't locked yet.
|
|
167
|
+
*
|
|
168
|
+
* A table narrower than its container is stretched by `minWidth: 100%`, so the rendered
|
|
169
|
+
* columns are wider than the auto-measured values held in colWidths. Dragging from those
|
|
170
|
+
* stale values moved the grabbed column to the wrong width, and dropping the stretch (which
|
|
171
|
+
* a hand-set width does) then re-laid out every other column at once. */
|
|
172
|
+
private syncColWidths;
|
|
167
173
|
private setColWidth;
|
|
168
174
|
private handleResizeStart;
|
|
169
175
|
private handleResizeMove;
|