baseui 0.0.0-alpha-0ccfc47 → 0.0.0-alpha-fa426d6
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.
|
@@ -157,9 +157,10 @@ function MeasureColumnWidths(_ref2) {
|
|
|
157
157
|
overflow: 'hidden',
|
|
158
158
|
height: 0
|
|
159
159
|
}); // Remove the measurement nodes after we are done updating our column width
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
160
|
+
|
|
161
|
+
if (widthMap.size === columns.length) {
|
|
162
|
+
return null;
|
|
163
|
+
}
|
|
163
164
|
|
|
164
165
|
return (
|
|
165
166
|
/*#__PURE__*/
|
|
@@ -167,9 +167,9 @@ export default function MeasureColumnWidths({
|
|
|
167
167
|
});
|
|
168
168
|
|
|
169
169
|
// Remove the measurement nodes after we are done updating our column width
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
170
|
+
if (widthMap.size === columns.length) {
|
|
171
|
+
return null;
|
|
172
|
+
}
|
|
173
173
|
|
|
174
174
|
return (
|
|
175
175
|
// eslint-disable-next-line jsx-a11y/role-supports-aria-props
|
|
@@ -125,9 +125,10 @@ export default function MeasureColumnWidths({
|
|
|
125
125
|
overflow: 'hidden',
|
|
126
126
|
height: 0
|
|
127
127
|
}); // Remove the measurement nodes after we are done updating our column width
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
128
|
+
|
|
129
|
+
if (widthMap.size === columns.length) {
|
|
130
|
+
return null;
|
|
131
|
+
}
|
|
131
132
|
|
|
132
133
|
return (
|
|
133
134
|
/*#__PURE__*/
|
|
@@ -146,9 +146,10 @@ export default function MeasureColumnWidths(_ref2) {
|
|
|
146
146
|
overflow: 'hidden',
|
|
147
147
|
height: 0
|
|
148
148
|
}); // Remove the measurement nodes after we are done updating our column width
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
149
|
+
|
|
150
|
+
if (widthMap.size === columns.length) {
|
|
151
|
+
return null;
|
|
152
|
+
}
|
|
152
153
|
|
|
153
154
|
return (
|
|
154
155
|
/*#__PURE__*/
|