Skip to content

Commit 5621c44

Browse files
author
sanjay
committed
fixed issue magento#22736 - Cursor position not in right side of search keyword in mobile
1 parent beb058c commit 5621c44

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
@@ -133,6 +133,9 @@ define([
133133

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

0 commit comments

Comments
 (0)