@ohhwells/bridge 0.1.68-next.197 → 0.1.68-next.198

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/index.cjs CHANGED
@@ -12519,6 +12519,15 @@ function FloatingPanel({
12519
12519
  (e) => {
12520
12520
  const drag = dragRef.current;
12521
12521
  if (!drag || drag.pointerId !== e.pointerId) return;
12522
+ if (e.buttons === 0) {
12523
+ dragRef.current = null;
12524
+ document.documentElement.removeAttribute("data-ohw-panel-dragging");
12525
+ try {
12526
+ e.currentTarget.releasePointerCapture(e.pointerId);
12527
+ } catch {
12528
+ }
12529
+ return;
12530
+ }
12522
12531
  e.preventDefault();
12523
12532
  const next = clampPosition(
12524
12533
  {