Skip to content

Commit c068886

Browse files
sanjayPrakash Prajapati
sanjay
authored and
Prakash Prajapati
committed
fixed issue magento#22736 - Cursor position not in right side of search keyword in mobile
1 parent 8c02c91 commit c068886

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

app/code/Magento/Search/view/frontend/web/js/form-mini.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,9 @@ define([
134134

135135
if (this.isExpandable) {
136136
this.element.attr('aria-expanded', isActive);
137+
let searchValue = this.element.val();
138+
this.element.val("");
139+
this.element.val(searchValue);
137140
}
138141
},
139142

0 commit comments

Comments
 (0)