@floegence/floe-webapp-core 0.97.1 → 0.97.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.
@@ -105,7 +105,7 @@ function it(t) {
105
105
  containsTarget: (n) => !!(n instanceof Node && A()?.contains(n)) || !!t.containsTarget?.(n) || !!(n instanceof Node && document.getElementById(B?.getAttribute("aria-controls") ?? "")?.parentElement?.contains(n)),
106
106
  onClose: () => q(!0),
107
107
  onInteractOutside: (n) => {
108
- n.type === "pointerdown" && q(!1);
108
+ n.type === "pointerdown" && n.button === 0 && q(!1);
109
109
  },
110
110
  // Related previews belong to pointer ownership, but own their Escape command.
111
111
  closeOnEscape: "none",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@floegence/floe-webapp-core",
3
- "version": "0.97.1",
3
+ "version": "0.97.3",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",