Skip to content

Commit 79b5bf6

Browse files
committed
Merge pull request select2#2483 from hitosu/master
filter 229 keyCodes (input method editor is processing key input)
2 parents 724d2f7 + 7c1ceb8 commit 79b5bf6

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

select2.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2117,6 +2117,9 @@ the specific language governing permissions and limitations under the Apache Lic
21172117
this.search.on("keydown", this.bind(function (e) {
21182118
if (!this.isInterfaceEnabled()) return;
21192119

2120+
// filter 229 keyCodes (input method editor is processing key input)
2121+
if (229 == e.keyCode) return;
2122+
21202123
if (e.which === KEY.PAGE_UP || e.which === KEY.PAGE_DOWN) {
21212124
// prevent the page from scrolling
21222125
killEvent(e);

0 commit comments

Comments
 (0)