From 354aa7a4c3c83b7102a6b2ecadf912d05f14b6e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?w=C5=AB=20y=C4=81ng?= Date: Fri, 17 May 2024 12:30:53 +0800 Subject: [PATCH] chore: release 1.7.2 (#2909) * chore: release 1.7.2 * docs: update CHANGELOG --- CHANGELOG.md | 4 ++++ package.json | 2 +- src/avatar/Avatar.tsx | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7274d6610e..48a29224cf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/package.json b/package.json index 62ac67ec61..08403e6535 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/src/avatar/Avatar.tsx b/src/avatar/Avatar.tsx index a2f4751b4e..192d0127dd 100644 --- a/src/avatar/Avatar.tsx +++ b/src/avatar/Avatar.tsx @@ -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}