mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-04-21 07:32:02 +00:00
SearchBar focused on query changed
This commit is contained in:
parent
698f1174c7
commit
d317ef04d3
1 changed files with 1 additions and 1 deletions
|
|
@ -35,7 +35,7 @@ const SearchBar = ({ className }) => {
|
||||||
if (active && focusable) {
|
if (active && focusable) {
|
||||||
searchInputRef.current.focus();
|
searchInputRef.current.focus();
|
||||||
}
|
}
|
||||||
}, [active, focusable]);
|
}, [active, focusable, query]);
|
||||||
return (
|
return (
|
||||||
<label className={classnames(className, styles['search-bar-container'], { 'active': active })} onClick={searchBarOnClick}>
|
<label className={classnames(className, styles['search-bar-container'], { 'active': active })} onClick={searchBarOnClick}>
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue