Skip to content

Keep your coding agent up to date with the latest web best practices

Release v0.0.155

github-actions[bot]dc1856caafc7
diff --git a/.claude-plugin/marketplace.json b/.claude-plugin/marketplace.json
index dd9ca93..5bb5b80 100644
--- a/.claude-plugin/marketplace.json
+++ b/.claude-plugin/marketplace.json
@@ -8,7 +8,7 @@
"name": "modern-web-guidance",
"source": "./",
"description": "Keep your coding agent up to date with the latest web best practices",
- "version": "0.0.154"
+ "version": "0.0.155"
}
]
}
diff --git a/.claude-plugin/plugin.json b/.claude-plugin/plugin.json
index 224abc2..c055529 100644
--- a/.claude-plugin/plugin.json
+++ b/.claude-plugin/plugin.json
@@ -1,7 +1,7 @@
{
"name": "modern-web-guidance",
"description": "Keep your coding agent up to date with the latest web best practices",
- "version": "0.0.154",
+ "version": "0.0.155",
"author": {
"name": "Google Chrome"
}
diff --git a/.cursor-plugin/plugin.json b/.cursor-plugin/plugin.json
index 224abc2..c055529 100644
--- a/.cursor-plugin/plugin.json
+++ b/.cursor-plugin/plugin.json
@@ -1,7 +1,7 @@
{
"name": "modern-web-guidance",
"description": "Keep your coding agent up to date with the latest web best practices",
- "version": "0.0.154",
+ "version": "0.0.155",
"author": {
"name": "Google Chrome"
}
diff --git a/README.md b/README.md
index 0d52c60..56700a1 100644
--- a/README.md
+++ b/README.md
@@ -36,7 +36,7 @@ Here's a tiny sampling of the **124 use-case-centric guides**:
* **Accessibility & Security**: accessible error announcements, keyboard focus management.
* **Built-in AI**: Leveraging local, on-device client models (native Language Detection, Summarization, and Translation APIs).
-#### Full Skill Coverage (v0.0.154)
+#### Full Skill Coverage (v0.0.155)
<details>
<summary>Includes expert guidance across <strong>99 modern web features</strong></summary>
diff --git a/gemini-extension.json b/gemini-extension.json
index 224abc2..c055529 100644
--- a/gemini-extension.json
+++ b/gemini-extension.json
@@ -1,7 +1,7 @@
{
"name": "modern-web-guidance",
"description": "Keep your coding agent up to date with the latest web best practices",
- "version": "0.0.154",
+ "version": "0.0.155",
"author": {
"name": "Google Chrome"
}
diff --git a/package.json b/package.json
index 43c0138..ff0fc0f 100644
--- a/package.json
+++ b/package.json
@@ -3,7 +3,7 @@
"displayName": "Modern Web Guidance",
"description": "Keep your agent up to date on the latest web best practices.",
"license": "Apache-2.0",
- "version": "0.0.154",
+ "version": "0.0.155",
"publisher": "GoogleChrome",
"engines": {
"vscode": "^1.90.0",
diff --git a/skills/modern-web-guidance/guides/user-experience/swipe-to-remove.md b/skills/modern-web-guidance/guides/user-experience/swipe-to-remove.md
index 6e81b0e..c844458 100644
--- a/skills/modern-web-guidance/guides/user-experience/swipe-to-remove.md
+++ b/skills/modern-web-guidance/guides/user-experience/swipe-to-remove.md
@@ -98,12 +98,6 @@ The track configuration is gated behind an `.is-initialized` class on the list i
matter because the snap points are full-width. */
scroll-snap-align: start;
- /* Render the track scrolled to the content on first paint, so the
- left spacer is hidden off-screen without a JS scroll jump. Has no
- effect until the parent gains `.is-initialized` and the track
- becomes a scroll container. */
- scroll-initial-target: nearest;
-
/* The content must paint over the revealed spacer color. */
background: Canvas;
@@ -111,6 +105,17 @@ The track configuration is gated behind an `.is-initialized` class on the list i
border-bottom: 1px solid #eee;
}
+/* Gate `scroll-initial-target` behind `.is-initialized` so it only
+ applies once the track is actually a scroll container. Setting it on
+ the content before then would let the property walk up to the nearest
+ scrollable ancestor (typically the document) and shift the page's
+ initial scroll position to bring this row's content into view. With
+ the gate, the rule is only live when the row's own track can satisfy
+ it, so the initial scroll happens inside the track as intended. */
+.SwipeableList-item.is-initialized .SwipeableList-content {
+ scroll-initial-target: nearest;
+}
+
/* The track is the focusable scroll container, but its overflow is clipped
so a default focus ring on the track itself would be invisible. Project
the focus affordance onto the content element (which paints above the