Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed May 17, 2024
2 parents 416e973 + 354aa7a commit 9884568
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ toc: false
spline: explain
---

## 🌈 1.7.2 `2024-05-17`
### 🐞 Bug Fixes
- `Avatar`: 修复配合Popup使用浮层不展示的异常 @uyarn

## 🌈 1.7.1 `2024-05-16`

### 🚀 Features
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "tdesign-react",
"purename": "tdesign",
"version": "1.7.1",
"version": "1.7.2",
"description": "TDesign Component for React",
"title": "tdesign-react",
"main": "lib/index.js",
Expand Down
2 changes: 1 addition & 1 deletion src/avatar/Avatar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -119,10 +119,10 @@ const Avatar = forwardRefWithStatics(
ref={composeRefs(ref, avatarRef) as any}
className={avatarClass}
style={{ ...numSizeStyle, ...style }}
{...avatarProps}
onClick={(e) => onClick?.({ e })}
onMouseEnter={(e) => onHover?.({ e })}
onContextMenu={(e) => onContextmenu?.({ e })}
{...avatarProps}
>
{renderChildren}
</div>
Expand Down

0 comments on commit 9884568

Please sign in to comment.