summaryrefslogtreecommitdiffstats
path: root/webapp/components/member_list_team.jsx
diff options
context:
space:
mode:
authorNick Frazier <nrflaw@gmail.com>2016-12-09 22:46:52 -0500
committerChristopher Speller <crspeller@gmail.com>2016-12-09 22:46:52 -0500
commitcb870c83d1f3135b2b339f3444cfa7c632c4d5bd (patch)
treedae26949955feca9a26e20f0d3e7890ab115b93c /webapp/components/member_list_team.jsx
parentc2be6497ebc3dd586f4fbd61f76ac6cef23a9acf (diff)
downloadchat-cb870c83d1f3135b2b339f3444cfa7c632c4d5bd.tar.gz
chat-cb870c83d1f3135b2b339f3444cfa7c632c4d5bd.tar.bz2
chat-cb870c83d1f3135b2b339f3444cfa7c632c4d5bd.zip
PLT-4783 Fix autofocus for "Add/Manage Members" and "More public channels" modals (#4610)
* test fix * additional test fix * removed commented line * test fix additional test fix removed commented line fixed sidebar, rolled back web_client fix * fix for more_channels input focus bug
Diffstat (limited to 'webapp/components/member_list_team.jsx')
-rw-r--r--webapp/components/member_list_team.jsx3
1 files changed, 3 insertions, 0 deletions
diff --git a/webapp/components/member_list_team.jsx b/webapp/components/member_list_team.jsx
index a48283b96..768129f1c 100644
--- a/webapp/components/member_list_team.jsx
+++ b/webapp/components/member_list_team.jsx
@@ -12,6 +12,8 @@ import {getTeamStats} from 'utils/async_client.jsx';
import Constants from 'utils/constants.jsx';
+import * as UserAgent from 'utils/user_agent.jsx';
+
import React from 'react';
const USERS_PER_PAGE = 50;
@@ -132,6 +134,7 @@ export default class MemberListTeam extends React.Component {
search={this.search}
actions={teamMembersDropdown}
actionUserProps={actionUserProps}
+ focusOnMount={!UserAgent.isMobile()}
/>
);
}