@etsoo/react 1.4.14 → 1.4.15
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.
|
@@ -23,6 +23,7 @@ export function ResponsibleContainer(props) {
|
|
|
23
23
|
const { dimensions } = useDimensions(1, undefined, sizeReadyMiliseconds);
|
|
24
24
|
const rect = dimensions[0][2];
|
|
25
25
|
const showDataGrid = ((_a = rect === null || rect === void 0 ? void 0 : rect.width) !== null && _a !== void 0 ? _a : 0) >= dataGridMinWidth;
|
|
26
|
+
console.log(hasFields, showDataGrid, refs);
|
|
26
27
|
React.useEffect(() => {
|
|
27
28
|
if (rect != null && rect.height > 50 && height == null) {
|
|
28
29
|
let gridHeight = window.innerHeight - Math.round(rect.top + rect.height + 1);
|
package/package.json
CHANGED
|
@@ -151,6 +151,8 @@ export function ResponsibleContainer<
|
|
|
151
151
|
const rect = dimensions[0][2];
|
|
152
152
|
const showDataGrid = (rect?.width ?? 0) >= dataGridMinWidth;
|
|
153
153
|
|
|
154
|
+
console.log(hasFields, showDataGrid, refs);
|
|
155
|
+
|
|
154
156
|
React.useEffect(() => {
|
|
155
157
|
if (rect != null && rect.height > 50 && height == null) {
|
|
156
158
|
let gridHeight =
|