Skip to content

Commit

Permalink
Merge pull request #12730 from wildan-m/wildan-12028-fix-triple-click…
Browse files Browse the repository at this point in the history
…-behavior-on-the-last-report-chat

Fix triple click behavior on last item chat
  • Loading branch information
chiragsalian authored Nov 16, 2022
2 parents e81fab7 + 6cdf59e commit 752d404
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/styles/styles.js
Original file line number Diff line number Diff line change
Expand Up @@ -1230,6 +1230,12 @@ const styles = {
appContent: {
backgroundColor: themeColors.appBG,
overflow: 'hidden',

// Starting version 6.3.2 @react-navigation/drawer adds "user-select: none;" to its container.
// We add user-select-auto to the inner component to prevent incorrect triple-click text selection.
// For further explanation see - https://github.com/Expensify/App/pull/12730/files#r1022883823
userSelect: 'auto',
WebkitUserSelect: 'auto',
},

appContentHeader: {
Expand Down

0 comments on commit 752d404

Please sign in to comment.