Skip to content

Commit

Permalink
Merge pull request #12802 from Ollyws/fix-11735
Browse files Browse the repository at this point in the history
Fix for: Triple clicking a DM that contains text and URL, the URL isn’t highlighted
  • Loading branch information
chiragsalian authored Nov 17, 2022
2 parents 5280f7a + 5f6b3cc commit 7de9ab2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ const BaseAnchorForCommentsOnly = (props) => {
}
}
>
<Tooltip text={Str.isValidEmail(props.displayName) ? '' : props.href}>
<Tooltip containerStyles={[styles.dInline]} text={Str.isValidEmail(props.displayName) ? '' : props.href}>
<Text
ref={el => linkRef = el}
style={StyleSheet.flatten([props.style, defaultTextStyle])}
Expand Down
1 change: 1 addition & 0 deletions src/styles/styles.js
Original file line number Diff line number Diff line change
Expand Up @@ -2732,6 +2732,7 @@ const styles = {

userSelectText: {
userSelect: 'text',
WebkitUserSelect: 'text',
},

userSelectNone: {
Expand Down

0 comments on commit 7de9ab2

Please sign in to comment.