Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Nicholas J Anderson
whats-open-web
Commits
1ca09c91
Commit
1ca09c91
authored
Jan 14, 2018
by
Mattias J Duffy
Browse files
fix for ios searchbar error
#3
parent
03b1aaac
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/containers/SearchBar.js
View file @
1ca09c91
...
...
@@ -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
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment