Skip to content

Commit

Permalink
fix: add destroyTooltipOnHide to Avatar.Group (ant-design#47478)
Browse files Browse the repository at this point in the history
  • Loading branch information
afc163 authored and tanzhenyun committed Mar 29, 2024
1 parent 0cf1a90 commit 779f67f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions components/avatar/group.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ const Group: React.FC<GroupProps> = (props) => {
trigger={maxPopoverTrigger}
placement={maxPopoverPlacement}
overlayClassName={`${groupPrefixCls}-popover`}
destroyTooltipOnHide
>
<Avatar style={maxStyle}>{`+${numOfChildren - maxCount}`}</Avatar>
</Popover>,
Expand Down

0 comments on commit 779f67f

Please sign in to comment.