@jsenv/navi 0.29.361 → 0.29.362

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/docs/scroll.md CHANGED
@@ -157,6 +157,12 @@ picked up then. When it is still not the box you mean, say so explicitly with
157
157
  `open`/`defaultOpen` elsewhere in navi. The list goes back there every time it
158
158
  changes, even after the user scrolled.
159
159
  - **`onScrolledChange`** gives `{id, index, offset}` as the user scrolls.
160
+ - A list with an `id` **comes back where it was** when its screen is left and
161
+ come back to, the way the page does: the position is kept under the list's
162
+ `id` and the page's url, for the session, and put back by name the way
163
+ `defaultScrolled={{id, offset}}` is. A fresh arrival at the page still opens
164
+ at `defaultScrolled`. **`scrollResetOnNavigation`** opts out: the list then
165
+ opens the same way every time.
160
166
 
161
167
  ### A search moves the list, and gives it back
162
168
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jsenv/navi",
3
- "version": "0.29.361",
3
+ "version": "0.29.362",
4
4
  "type": "module",
5
5
  "description": "Library of components including navigation to create frontend applications",
6
6
  "repository": {