@lavalogic/scoria 0.16.2 → 0.16.3
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.
|
@@ -102,27 +102,27 @@
|
|
|
102
102
|
},
|
|
103
103
|
};
|
|
104
104
|
|
|
105
|
-
$effect(() => {
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
});
|
|
105
|
+
// $effect(() => {
|
|
106
|
+
// void trRef;
|
|
107
|
+
// return untrack(() => {
|
|
108
|
+
// if (trRef) {
|
|
109
|
+
// const observer = new ResizeObserver((entries) => {
|
|
110
|
+
// if (customHeight) {
|
|
111
|
+
// _trHeight = 0;
|
|
112
|
+
// } else {
|
|
113
|
+
// _trHeight = entries[0].borderBoxSize[0].blockSize;
|
|
114
|
+
// }
|
|
115
|
+
// });
|
|
116
|
+
// observer.observe(trRef);
|
|
117
|
+
|
|
118
|
+
// const currentTrRef = trRef;
|
|
119
|
+
// return () => {
|
|
120
|
+
// observer.unobserve(currentTrRef);
|
|
121
|
+
// };
|
|
122
|
+
// }
|
|
123
|
+
// return () => {};
|
|
124
|
+
// });
|
|
125
|
+
// });
|
|
126
126
|
|
|
127
127
|
// let innerTrRef: HTMLTableRowElement | undefined = $state();
|
|
128
128
|
// let _innerTrHeight = $state(0);
|