Skip to content

Commit c5e947c

Browse files
author
caroolcanelas
authored
Fix: openShareDialogClick on click is true except when it is emailShareButton
The modal on the email share button is not being opened when clicked. Ref: https://www.npmjs.com/package/react-share OpenShareDialogOnClick (boolean): Open dialog on click. Defaults to true except on EmailShareButton
1 parent f020849 commit c5e947c

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
77

88
## [Unreleased]
99

10+
### Fixed
11+
- Modal not displaing in email share at `SocialButton`
1012
## [3.169.3] - 2023-05-12
1113

1214
## [3.169.2] - 2023-05-12

react/components/Share/components/SocialButton.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ export default class SocialButton extends Component {
8989
)}
9090
media={imageUrl}
9191
onClick={() => this.props.sendShareEvent(socialEnum)}
92+
openShareDialogOnClick
9293
{...additionalProps}
9394
>
9495
{icon}

0 commit comments

Comments
 (0)