Skip to content

Commit

Permalink
fixed issue #22736 - Cursor position not in right side of search keyw…
Browse files Browse the repository at this point in the history
…ord in mobile
  • Loading branch information
sanjay authored and Prakash Prajapati committed Jun 21, 2019
1 parent 8c02c91 commit c068886
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app/code/Magento/Search/view/frontend/web/js/form-mini.js
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,9 @@ define([

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

Expand Down

0 comments on commit c068886

Please sign in to comment.