@optionfactory/fml 9.0.0-rc29 → 9.0.0-rc30

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
@@ -5624,13 +5624,13 @@ class Table extends ParsedElement {
5624
5624
  await this.#filterLoad;
5625
5625
  });
5626
5626
  this.addEventListener('page:requested', async (/** @type any */ e) => {
5627
- if (e.target.closest('ful-table') !== this) {
5627
+ if (e.composedPath().find((n) => n instanceof Table) !== this) {
5628
5628
  return;
5629
5629
  }
5630
5630
  await this.#loadPage(e.detail.value, this.#requestedFilters);
5631
5631
  });
5632
5632
  this.addEventListener('sort:requested', async (/** @type any */ e) => {
5633
- if (e.target.closest('ful-table') !== this) {
5633
+ if (e.composedPath().find((n) => n instanceof Table) !== this) {
5634
5634
  return;
5635
5635
  }
5636
5636
  const sortRequest = e.detail.value.order ? e.detail.value : null;