Revert "[common mobile] Fix bug 53974"

This reverts commit 4826e183f7.
This commit is contained in:
Alexey Koshelev
2025-03-12 20:36:30 +03:00
parent 4826e183f7
commit f7d43e50c2

View File

@ -115,17 +115,6 @@ class SearchView extends Component {
searchbarEnable: (sb) => {
this.refSearchbarInput.focus();
//Resolves the problem of invisible focus for the search input field(bug-53974)
const prevSearchQuery = this.state.searchQuery;
this.setState({
searchQuery: prevSearchQuery + ' '
});
setTimeout(() => {
this.setState({
searchQuery: prevSearchQuery
});
}, 0);
if(this.state.searchQuery.length > 0) {
const searchInput = document.querySelector('.searchbar-input');
searchInput.classList.add('input-with-value');