Skip to content

Commit

Permalink
ENGCOM-5126: fixed issue magento#22736 - Cursor position not in right…
Browse files Browse the repository at this point in the history
… side of search keyword in mobile magento#22795

 - Merge Pull Request magento#22795 from sanjaychouhan-webkul/magento2:fixed-22736
 - Merged commits:
   1. 5621c44
   2. 3ca7c02
   3. 3c8dcea
   4. c79e1ff
  • Loading branch information
magento-engcom-team committed May 21, 2019
2 parents 9467826 + c79e1ff commit 6f02d69
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/code/Magento/Search/view/frontend/web/js/form-mini.js
Original file line number Diff line number Diff line change
Expand Up @@ -129,14 +129,14 @@ define([
*/
setActiveState: function (isActive) {
var searchValue;

this.searchForm.toggleClass('active', isActive);
this.searchLabel.toggleClass('active', isActive);

if (this.isExpandable) {
this.element.attr('aria-expanded', isActive);
searchValue = this.element.val();
this.element.val("");
this.element.val('');
this.element.val(searchValue);
}
},
Expand Down

0 comments on commit 6f02d69

Please sign in to comment.