Skip to content

Commit 3d31beb

Browse files
release: release new versions (#50)
# Version Updates Merging this PR will release new versions of the following packages based on your change files. # @matechat/react ## [0.1.0-beta.0] ### Refactors - 5019927 Rewrite auto scroll logic of `BubbleList` component: - Use `ResizeObserver` to detect content size changes and scroll accordingly. - Add `scrollContainer` method to scroll to bottom when content size changes. - Introduce `pauseScroll` to prevent unnecessary scrolls during updates. Co-authored-by: fu050409 <[email protected]>
1 parent e9a377d commit 3d31beb

File tree

3 files changed

+13
-2
lines changed

3 files changed

+13
-2
lines changed

.changes/pre.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
".changes/optimize-callback.md",
1414
".changes/optimize-sender-button.md",
1515
".changes/optimize-sender-input.md",
16-
".changes/optimize-usechat.md"
16+
".changes/optimize-usechat.md",
17+
".changes/refactor-bubble-list.md"
1718
]
1819
}

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
# Changelog
22

3+
## \[0.1.0-beta.0]
4+
5+
### Refactors
6+
7+
- [`5019927`](https://github.com/DevCloudFE/matechat-react/commit/501992755827669d76b63a8e88837f71db186e4a) Rewrite auto scroll logic of `BubbleList` component:
8+
9+
- Use `ResizeObserver` to detect content size changes and scroll accordingly.
10+
- Add `scrollContainer` method to scroll to bottom when content size changes.
11+
- Introduce `pauseScroll` to prevent unnecessary scrolls during updates.
12+
313
## \[0.1.0-alpha.8]
414

515
### New Features

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@matechat/react",
3-
"version": "0.1.0-alpha.8",
3+
"version": "0.1.0-beta.0",
44
"packageManager": "[email protected]",
55
"description": "Front-end AI scenario solution UI library based on Huawei DevUI Design.",
66
"type": "module",

0 commit comments

Comments
 (0)