Commit 1ca09c91 authored by Mattias J Duffy's avatar Mattias J Duffy

fix for ios searchbar error #3

parent 03b1aaac
Pipeline #1983 passed with stage
in 1 minute and 37 seconds
......@@ -90,10 +90,10 @@ class SearchBar extends React.Component {
<IconButton onClick={this.handleMobileCollapse} disableRipple className={'search-bar-back-btn'}>
<ArrowBackIcon className={'search-bar-back-icon'} />
</IconButton>
<Input
(<Input
placeholder="Name, Location, etc."
disableUnderline
className={classNames('search-bar-input','hide-search-input' && this.state.isMobileOpen)}
className={classNames('search-bar-input',{'hide-search-input':!this.state.isMobileOpen})}
onChange={this.handleChange}
onFocus={this.handleFocus}
onBlur={this.handleBlur}
......@@ -102,7 +102,7 @@ class SearchBar extends React.Component {
}}
inputRef={(el) => this.inputElement = el}
value={this.state.value}
/>
/>)
<IconButton onClick={this.clear} disableRipple className={'search-bar-close-btn'}>
<CloseIcon />
</IconButton>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment