Skip to content

Commit

Permalink
disable chat list user select on mobile web
Browse files Browse the repository at this point in the history
  • Loading branch information
honnamkuan committed Jun 19, 2023
1 parent 057a182 commit 98423be
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 98423be

Please sign in to comment.