Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit 11b72b8

Browse files
committed
fix(input[text]): composing function dosen't works properly in IE
1 parent 5f76bc6 commit 11b72b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ng/directive/input.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1261,7 +1261,7 @@ function baseInputType(scope, element, attr, ctrl, $sniffer, $browser) {
12611261
$browser.defer.cancel(timeout);
12621262
timeout = null;
12631263
}
1264-
if (composing) return;
1264+
if (composing && !(ev.originalEvent && ev.originalEvent.data === undefined)) return;
12651265
var value = element.val(),
12661266
event = ev && ev.type;
12671267

0 commit comments

Comments
 (0)