From bfcfd28b80735430c2e882245012465d39442539 Mon Sep 17 00:00:00 2001 From: Longado Date: Sun, 13 Sep 2026 01:09:44 +0800 Subject: [PATCH] =?UTF-8?q?fix(less-computer):=20=E5=8D=87=E7=BA=A7=20@sha?= =?UTF-8?q?dcn/react=20=E5=88=B0=200.2.1=EF=BC=8C=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?=E8=81=8A=E5=A4=A9=E6=A1=86=E4=B8=8D=E8=87=AA=E5=8A=A8=E6=BB=9A?= =?UTF-8?q?=E5=88=B0=E5=BA=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 0.2.0 的 MessageScroller 在流式输出期间有竞态:自动滚动后约 180ms 的 状态复核若恰好落在新内容已提交、ResizeObserver 尚未触发的间隙,会把 跟随底部误判为用户滚走,此后不再跟随。上游 shadcn-ui/ui#11106 已修, 随 0.2.1 发布;0.2.1 在现有 ^0.2.0 范围内,接口与 peer 依赖不变。 Fixes #1010 --- openless-all/app/package-lock.json | 8 ++++---- openless-all/app/package.json | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/openless-all/app/package-lock.json b/openless-all/app/package-lock.json index 534d75287..31fde046d 100644 --- a/openless-all/app/package-lock.json +++ b/openless-all/app/package-lock.json @@ -9,7 +9,7 @@ "version": "2.0.0-Beta.1", "dependencies": { "@base-ui/react": "^1.6.0", - "@shadcn/react": "^0.2.0", + "@shadcn/react": "^0.2.1", "@tailwindcss/vite": "^4.3.2", "@tauri-apps/api": "^2.1.1", "@tauri-apps/plugin-dialog": "^2.7.2", @@ -1778,9 +1778,9 @@ "license": "MIT" }, "node_modules/@shadcn/react": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/@shadcn/react/-/react-0.2.0.tgz", - "integrity": "sha512-g/LMtyL0eiHCHkOCelhYf32RC5nTMdtUNag1ZQRhSDCW+jnHxDY1Dajk7P6zJosOg8z2N4wzfKOY5sh54QTDYA==", + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/@shadcn/react/-/react-0.2.1.tgz", + "integrity": "sha512-5krgi3dRMKb5jH6a+qPzVJUy/54s0kKE4Rw4LjDfLqOdVQTWKUgxWf1kW8r912I0jX/Lzxqc+pgjkjWxUIK5BQ==", "license": "MIT", "peerDependencies": { "@types/react": ">=19", diff --git a/openless-all/app/package.json b/openless-all/app/package.json index dc11da883..bbe7f4a17 100644 --- a/openless-all/app/package.json +++ b/openless-all/app/package.json @@ -36,7 +36,7 @@ }, "dependencies": { "@base-ui/react": "^1.6.0", - "@shadcn/react": "^0.2.0", + "@shadcn/react": "^0.2.1", "@tailwindcss/vite": "^4.3.2", "@tauri-apps/api": "^2.1.1", "@tauri-apps/plugin-dialog": "^2.7.2",