@qtoggle/qui 1.20.0-alpha.6 → 1.20.0-alpha.7

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/less/lists.less CHANGED
@@ -43,18 +43,12 @@ div.qui-list-child.qui-list-item {
43
43
  opacity: 0;
44
44
  }
45
45
 
46
- /* Only an item whose whole content is an icon-label view has a height we can predict: min-height: 3em in
47
- * icon-label-view.less, with the content kept to a single ellipsised line. Such a view can have its off-screen
48
- * rendering skipped against a reliable size estimate. Everything else built on ListItem is deliberately left out,
49
- * table rows above all -- their content is a set of cells and their height is unconstrained.
50
- *
51
- * The plain contain-intrinsic-size comes first for engines that predate the auto keyword and would otherwise drop
52
- * the declaration, collapsing a skipped view to nothing. */
53
- & > div.qui-icon-label-view {
54
- content-visibility: auto;
55
- contain-intrinsic-size: 0 3em;
56
- contain-intrinsic-size: auto 3em;
57
- }
46
+ /* No `content-visibility: auto` on the icon-label view either, and it is not coming back without a different
47
+ * mechanism. Skipping the rendering of off-screen rows means the browser has to do that work when they scroll in,
48
+ * and it does not keep up with a fast flick: measured on a 300-row list, every row in the viewport was still in
49
+ * the skipped state two frames after a jump, and only rendered about 400ms later. Rows arrive blank and fill in
50
+ * afterwards, which is far more noticeable than the paint it saves. The relevance margin that decides when the
51
+ * browser starts rendering is not author-controllable, so there is no tuning short of removing it. */
58
52
 
59
53
  }
60
54
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@qtoggle/qui",
3
3
  "description": "A JavaScript UI library with batteries included.",
4
- "version": "1.20.0-alpha.6",
4
+ "version": "1.20.0-alpha.7",
5
5
  "author": {
6
6
  "name": "Calin Crisan",
7
7
  "email": "ccrisan@gmail.com"
package/pyproject.toml CHANGED
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "qui-server"
3
- version = "1.20.0-alpha.6"
3
+ version = "1.20.0-alpha.7"
4
4
  description = "A fully fledged qToggle implementation written in Python"
5
5
  authors = [
6
6
  {name = "Calin Crisan", email = "ccrisan@gmail.com"},