@ruckc/truss-graph 1.18.2 → 1.18.4

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/Graph.svelte CHANGED
@@ -295,7 +295,10 @@
295
295
  // the page) their containing block and scales them. Move them to a layer outside it, then re-place them.
296
296
  const lift = () => {
297
297
  const found = viewport.querySelectorAll('.tr-popover[data-fixed="true"]');
298
- for (const el of found) overlay.append(el);
298
+ for (const el of found) {
299
+ overlay.append(el);
300
+ (el as HTMLElement).showPopover(); // moving a top-layer popover out of the document hides it
301
+ }
299
302
  if (found.length) overlay.dispatchEvent(new Event('scroll')); // Popover re-places itself on scroll
300
303
  };
301
304
  const mo = new MutationObserver(lift);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ruckc/truss-graph",
3
- "version": "1.18.2",
3
+ "version": "1.18.4",
4
4
  "description": "Zero-dependency node/edge graph editor for Truss UI",
5
5
  "type": "module",
6
6
  "license": "MIT",