Skip to content

Commit 7c1ceb8

Browse files
committed
filter 229 keyCodes (input method editor is processing key input)
1 parent fdad112 commit 7c1ceb8

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
@@ -2101,6 +2101,9 @@ the specific language governing permissions and limitations under the Apache Lic
21012101
this.search.on("keydown", this.bind(function (e) {
21022102
if (!this.isInterfaceEnabled()) return;
21032103

2104+
// filter 229 keyCodes (input method editor is processing key input)
2105+
if (229 == e.keyCode) return;
2106+
21042107
if (e.which === KEY.PAGE_UP || e.which === KEY.PAGE_DOWN) {
21052108
// prevent the page from scrolling
21062109
killEvent(e);

0 commit comments

Comments
 (0)