@jsenv/navi 0.29.176 → 0.29.177
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/jsenv_navi.js +181 -15
- package/dist/jsenv_navi.js.map +7 -7
- package/docs/drag_to_travel.md +19 -20
- package/package.json +2 -2
package/docs/drag_to_travel.md
CHANGED
|
@@ -147,26 +147,25 @@ to get wrong from there:
|
|
|
147
147
|
which: once it has faded into a recognized tail, growing **twice in a row**
|
|
148
148
|
is a hand (`WHEEL_REGROW_RUN`) — decay jitter bumps up in isolated events and
|
|
149
149
|
never twice consecutively.
|
|
150
|
-
- **
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
by
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
pixel
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
wheel — which is the cheap side of the trade.
|
|
150
|
+
- **cross-axis events are swallowed absolutely, and they renew nothing.** A
|
|
151
|
+
hand is never perfectly straight, so events leaning the other way are the
|
|
152
|
+
gesture's own wobble and are eaten with the rest — and there the swallowing
|
|
153
|
+
has to be total, because no per-event reading tells a scroll's onset from
|
|
154
|
+
that wobble. It was tried, and every filter leaks: end-of-fade crumbs are a
|
|
155
|
+
pixel or two landing on either axis (a `(0,1)` event is "clearly the other
|
|
156
|
+
axis" by any dominance test), a slightly diagonal swipe's tail carries
|
|
157
|
+
hand-sized deltas on both axes, and one crumb let through scrolls the
|
|
158
|
+
slide's own content under the travel — a header creeping off the edge of the
|
|
159
|
+
box, one pixel per leak. Do not re-attempt a "hand it back when it is really
|
|
160
|
+
a scroll" heuristic; the honest boundary is elsewhere: a swallowed
|
|
161
|
+
cross-axis event does NOT renew the claim. Silence is the only end a wheel
|
|
162
|
+
gesture has, and it is silence ON ITS AXIS — renewed by what it eats, the
|
|
163
|
+
gesture would outlive its own stream, and a hand starting a scroll over the
|
|
164
|
+
tail would extend, event by event, the very deadness it was waiting out.
|
|
165
|
+
Left to lapse, the claim dies shortly after the travel axis goes quiet (on a
|
|
166
|
+
system where touching the surface kills the old momentum, that is moments
|
|
167
|
+
after the new scroll begins), and the browser answers the rest of the scroll
|
|
168
|
+
itself.
|
|
170
169
|
|
|
171
170
|
Taking it is also the only way to stop the browser from answering it: on a
|
|
172
171
|
laptop a horizontal two-finger swipe IS the back-navigation gesture, and a
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jsenv/navi",
|
|
3
|
-
"version": "0.29.
|
|
3
|
+
"version": "0.29.177",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Library of components including navigation to create frontend applications",
|
|
6
6
|
"repository": {
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"prepublishOnly": "npm run build"
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@jsenv/dom": "0.17.
|
|
32
|
+
"@jsenv/dom": "0.17.43",
|
|
33
33
|
"@jsenv/humanize": "1.7.8",
|
|
34
34
|
"@jsenv/validity": "0.4.3"
|
|
35
35
|
},
|