File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
src/components/TeamManagement Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ import AutoCompleteInput from './AutoCompleteInput'
33import cn from 'classnames'
44import { Icons } from 'appirio-tech-react-components'
55import { PROJECT_ROLE_CUSTOMER } from '../../config/constants'
6-
6+ import Scroll from 'react-scroll'
77
88const { XMarkIcon } = Icons
99
@@ -17,6 +17,7 @@ const AddTeamMember = (props) => {
1717 const onBtnClose = ( ) => {
1818 onKeywordChange ( '' )
1919 onToggleAddTeamMember ( false )
20+ Scroll . animateScroll . scrollMore ( 1 )
2021 }
2122 const onConfirmAddMember = ( ) => {
2223 // if adding a customer and there is no owner yet for the project
Original file line number Diff line number Diff line change @@ -63,6 +63,7 @@ class AutoCompleteInput extends React.Component {
6363 { selectedNewMember && < img src = { selectedNewMember . photoURL } /> }
6464 </ span >
6565 < input
66+ autoFocus
6667 ref = "input"
6768 value = { keyword }
6869 className = "tc-file-field__inputs"
You can’t perform that action at this time.
0 commit comments