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 { ...@@ -90,10 +90,10 @@ class SearchBar extends React.Component {
<IconButton onClick={this.handleMobileCollapse} disableRipple className={'search-bar-back-btn'}> <IconButton onClick={this.handleMobileCollapse} disableRipple className={'search-bar-back-btn'}>
<ArrowBackIcon className={'search-bar-back-icon'} /> <ArrowBackIcon className={'search-bar-back-icon'} />
</IconButton> </IconButton>
<Input (<Input
placeholder="Name, Location, etc." placeholder="Name, Location, etc."
disableUnderline 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} onChange={this.handleChange}
onFocus={this.handleFocus} onFocus={this.handleFocus}
onBlur={this.handleBlur} onBlur={this.handleBlur}
...@@ -102,7 +102,7 @@ class SearchBar extends React.Component { ...@@ -102,7 +102,7 @@ class SearchBar extends React.Component {
}} }}
inputRef={(el) => this.inputElement = el} inputRef={(el) => this.inputElement = el}
value={this.state.value} value={this.state.value}
/> />)
<IconButton onClick={this.clear} disableRipple className={'search-bar-close-btn'}> <IconButton onClick={this.clear} disableRipple className={'search-bar-close-btn'}>
<CloseIcon /> <CloseIcon />
</IconButton> </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