Mobile Web: Auto-focus cursor in the search box (#5284)
* Mobile Web: Auto-focus cursor in the search box and open keyboard when the search icon is tapped * fixed issue with safari mobile view * added isFocus props to search_bar.jsx component * used 'x' and fixed spacing * changed 'x' icon and fixed css * added aria-hidden='true'
Этот коммит содержится в:
коммит произвёл
enahum
родитель
f37c03a75f
Коммит
74c1fbbcf7
@@ -765,7 +765,12 @@ export default class ChannelHeader extends React.Component {
|
||||
<th className='header-list__members'>
|
||||
{popoverListMembers}
|
||||
</th>
|
||||
<th className='search-bar__container'><NavbarSearchBox showMentionFlagBtns={false}/></th>
|
||||
<th className='search-bar__container'>
|
||||
<NavbarSearchBox
|
||||
showMentionFlagBtns={false}
|
||||
isFocus={Utils.isMobile()}
|
||||
/>
|
||||
</th>
|
||||
<th>
|
||||
<div className='dropdown channel-header__links search-btns'>
|
||||
<OverlayTrigger
|
||||
|
||||
Ссылка в новой задаче
Block a user