@optionfactory/fml 9.0.0-rc32 → 9.0.0-rc33

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/ful.mjs CHANGED
@@ -5756,6 +5756,13 @@ class Table extends ParsedElement {
5756
5756
  },
5757
5757
  { passive: true },
5758
5758
  );
5759
+ // a table that loaded while it was not laid out, in a tab not yet shown for one, has
5760
+ // measured nothing: with a first page shorter than its panel no scroll would ever come
5761
+ // to do it. Its box changing size is the moment it is laid out, or shows more rows.
5762
+ new ResizeObserver(() => {
5763
+ this.#countInView();
5764
+ this.#reconcile(false);
5765
+ }).observe(tableWrapper);
5759
5766
  } else if (status) {
5760
5767
  this.#endWatch = new IntersectionObserver((entries) => {
5761
5768
  // an entry queued before the watch moved on to another row, or stopped, asks for nothing
@@ -6155,7 +6162,7 @@ class Table extends ParsedElement {
6155
6162
  * Measures the height of a row and locks the widths of the columns, once
6156
6163
  * per load, on the rows it shows, then sizes the spacers. A table that is not laid out, inside a
6157
6164
  * closed disclosure for instance, measures nothing and is measured when
6158
- * its rows next scroll.
6165
+ * it is laid out, or when its rows next scroll.
6159
6166
  * @returns {boolean} whether the rows are measured
6160
6167
  */
6161
6168
  #measureRows() {