Skip to content

Commit

Permalink
Merge pull request #21042 from honnamkuan/20470
Browse files Browse the repository at this point in the history
disable chat list user select on mobile web
  • Loading branch information
neil-marcellini authored Jun 20, 2023
2 parents d43756a + 98423be commit 8ba2234
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/pages/home/sidebar/SidebarScreen/BaseSidebarScreen.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import CONST from '../../../../CONST';
import Performance from '../../../../libs/Performance';
import withWindowDimensions, {windowDimensionsPropTypes} from '../../../../components/withWindowDimensions';
import sidebarPropTypes from './sidebarPropTypes';
import * as Browser from '../../../../libs/Browser';

const propTypes = {
...sidebarPropTypes,
Expand Down Expand Up @@ -48,7 +49,7 @@ class BaseSidebarScreen extends Component {
return (
<ScreenWrapper
includeSafeAreaPaddingBottom={false}
style={[styles.sidebar]}
style={[styles.sidebar, Browser.isMobile() ? styles.userSelectNone : {}]}
>
{({insets}) => (
<>
Expand Down

0 comments on commit 8ba2234

Please sign in to comment.