feat(scroll): implement instant scroll-to-bottom behavior for chat messages (#438)

This commit is contained in:
DigHuang
2026-03-12 17:02:43 +08:00
committed by GitHub
Unverified
parent c0c8701cc3
commit c0a3903377
6 changed files with 143 additions and 25 deletions

12
pnpm-lock.yaml generated
View File

@@ -195,6 +195,9 @@ importers:
typescript:
specifier: ^5.9.3
version: 5.9.3
use-stick-to-bottom:
specifier: ^1.1.3
version: 1.1.3(react@19.2.4)
vite:
specifier: ^7.3.1
version: 7.3.1(@types/node@25.3.0)(jiti@1.21.7)(yaml@2.8.2)
@@ -6373,6 +6376,11 @@ packages:
'@types/react':
optional: true
use-stick-to-bottom@1.1.3:
resolution: {integrity: sha512-GgRLdeGhxBxpcbrBbEIEoOKUQ9d46/eaSII+wyv1r9Du+NbCn1W/OE+VddefvRP4+5w/1kATN/6g2/BAC/yowQ==}
peerDependencies:
react: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0
use-sync-external-store@1.6.0:
resolution: {integrity: sha512-Pp6GSwGP/NrPIrxVFAIkOQeyw8lFenOHijQWkUTrDvrF4ALqylP2C/KCkeS9dpUM3KvYRQhna5vt7IL95+ZQ9w==}
peerDependencies:
@@ -14192,6 +14200,10 @@ snapshots:
optionalDependencies:
'@types/react': 19.2.14
use-stick-to-bottom@1.1.3(react@19.2.4):
dependencies:
react: 19.2.4
use-sync-external-store@1.6.0(react@19.2.4):
dependencies:
react: 19.2.4