Skip to content

Commit

Permalink
Merge pull request Expensify#13120 from s77rt/text-cursor-on-messages
Browse files Browse the repository at this point in the history
  • Loading branch information
roryabraham authored Nov 29, 2022
2 parents a80bb67 + effb3fb commit 58c22bc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/ReportActionItem/IOUQuote.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ const IOUQuote = props => (
{/* Get first word of IOU message */}
{Str.htmlDecode(fragment.text.split(' ')[0])}
</Text>
<Text style={[styles.chatItemMessage]}>
<Text style={[styles.chatItemMessage, styles.cursorPointer]}>
{/* Get remainder of IOU message */}
{Str.htmlDecode(fragment.text.substring(fragment.text.indexOf(' ')))}
</Text>
Expand Down
1 change: 1 addition & 0 deletions src/styles/styles.js
Original file line number Diff line number Diff line change
Expand Up @@ -1334,6 +1334,7 @@ const styles = {
marginTop: -2,
marginBottom: -2,
maxWidth: '100%',
cursor: 'auto',
...whiteSpace.preWrap,
...wordBreak.breakWord,
},
Expand Down

0 comments on commit 58c22bc

Please sign in to comment.