@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.
- package/dist/dev/jsenv_navi.js +15 -0
- package/dist/dev/jsenv_navi.js.map +3 -3
- package/dist/jsenv_navi.js +15 -0
- package/dist/jsenv_navi.js.map +3 -3
- package/docs/drag_to_travel.md +11 -1
- package/package.json +2 -2
package/docs/drag_to_travel.md
CHANGED
|
@@ -470,7 +470,17 @@ Two things a travel in hand must never lose:
|
|
|
470
470
|
cancelled; a `lostpointercapture` before either means someone else asked for
|
|
471
471
|
the pointer (or the element it was held on left the document). What was being
|
|
472
472
|
carried goes back rather than landing wherever the hand happened to be, and a
|
|
473
|
-
travel comes home rather than committing
|
|
473
|
+
travel comes home rather than committing. Home is where the travel was going
|
|
474
|
+
BEFORE the press: one this gesture began goes back, one it caught in flight
|
|
475
|
+
carries on to the end that was decided before the finger landed — the
|
|
476
|
+
gesture said nothing, and nothing is what it changes. On a touchscreen this
|
|
477
|
+
is the common case, not a corner: a finger reaching for a travel lands on the
|
|
478
|
+
document root (the box is captured, unpointable), where neither the box's
|
|
479
|
+
`touch-action` nor its touchmove listener is on the touch's path — so while
|
|
480
|
+
a travel plays, `RouteTravel` keeps the touch refusable from the root, and
|
|
481
|
+
the gesture that catches it (started from the grab) refuses every touchmove
|
|
482
|
+
of that press. A scroll begun over a page still sliding is that page's, not
|
|
483
|
+
the document's;
|
|
474
484
|
- **a gesture must hear its own end wherever it is delivered.** A pointer can be
|
|
475
485
|
cancelled somewhere the box is not on the path (the document root, during a
|
|
476
486
|
transition): missed, the gesture never ends, and whatever it was holding stays
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jsenv/navi",
|
|
3
|
-
"version": "0.29.
|
|
3
|
+
"version": "0.29.331",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Library of components including navigation to create frontend applications",
|
|
6
6
|
"repository": {
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"preact": "^11.0.0-rc.2"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@jsenv/dom": "0.17.
|
|
37
|
+
"@jsenv/dom": "0.17.69",
|
|
38
38
|
"@jsenv/humanize": "1.8.3",
|
|
39
39
|
"@jsenv/validity": "0.4.4"
|
|
40
40
|
},
|