@jsenv/navi 0.30.37 → 0.30.39

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
@@ -756,6 +756,12 @@ browser, at no cost per element. Hand-written in JS the same suppression takes
756
756
  three handlers — once `mouseenter` has been swallowed, only `mousemove` can
757
757
  bring the hover back.
758
758
 
759
+ End the selector on what it styles, as `.my_row` does here. A rule ending on
760
+ `*` (`[navi-scrolling] *`, or `.my_row:is([navi-scrolling] *)`) gives Chrome
761
+ nothing to narrow to: it restyles every element under the scroller, the whole
762
+ document when the page scrolls, once as each scroll starts and again as it
763
+ stops.
764
+
759
765
  The page scroll carries the attribute on `document.scrollingElement`, so an
760
766
  ancestor rule covers it too. In JS the same fact reads as `isScrolling()` /
761
767
  `isScrolling(element)`, or `scrollActivitySignal` to react to it.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jsenv/navi",
3
- "version": "0.30.37",
3
+ "version": "0.30.39",
4
4
  "type": "module",
5
5
  "description": "Library of components including navigation to create frontend applications",
6
6
  "repository": {