@jsenv/navi 0.29.330 → 0.29.331

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.
@@ -30351,6 +30351,17 @@ const RouteTravel = ({
30351
30351
  ended: false
30352
30352
  };
30353
30353
  travelRef.current = travel;
30354
+ // A press landing on a playing travel lands on the document root: the box
30355
+ // is captured by the transition and cannot be pointed at, so neither its
30356
+ // touch-action nor its own touchmove listener is on the touch's path. Left
30357
+ // there, the browser takes the finger's first vertical pixels for a scroll
30358
+ // and cancels the pointer under a travel that was just caught. Refusable
30359
+ // from the root for the length of the travel, the gesture that catches it
30360
+ // refuses every touchmove of that press (it is started from the grab), and
30361
+ // the finger's only answer is the travel it landed on.
30362
+ document.documentElement.addEventListener("touchmove", keepTouchRefusable, {
30363
+ passive: false
30364
+ });
30354
30365
  // Whether the document's offset is this row's business at all (see
30355
30366
  // pagesScrollTheDocument), asked once and before anything is swapped.
30356
30367
  travel.scrollsDocument = pagesScrollTheDocument(elementRef.current);
@@ -30724,6 +30735,9 @@ const RouteTravel = ({
30724
30735
  travel.ended = true;
30725
30736
  travel.dropHold?.();
30726
30737
  travel.dropHold = null;
30738
+ if (travelRef.current === travel) {
30739
+ document.documentElement.removeEventListener("touchmove", keepTouchRefusable);
30740
+ }
30727
30741
  // The offset on the scrollport belongs to a page again — the one that
30728
30742
  // arrived, or the one put back. A travel that never got as far as saying
30729
30743
  // which still has to give the recording back; the gesture's own
@@ -71924,6 +71938,7 @@ const css$t = /* css */`@layer navi {
71924
71938
  --picker-padding-y-default: 0;
71925
71939
  --picker-border-width: 0px;
71926
71940
  --picker-border-color: transparent;
71941
+ --picker-outline-width: 0px;
71927
71942
  --picker-border-color-hover: var(--picker-border-color);
71928
71943
  --picker-border-color-readonly: var(--picker-border-color);
71929
71944
  --picker-border-color-disabled: var(--picker-border-color);