You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
I'm building a Korean vocabulary trainer and I want to compare user input as people type.
In Korean and some other Asian languages, you build letters with multiple keyup events. In Chrome and after Angular version 1.2.1 (works fine in 1.2.1), $scope.$watch, ng-change and ng-keyup can only access typed characters once they have been fully composed and the composition of a next letter has started (or a space bar has been entered).
Input: ㄱ
Console:
ng-keyup : undefined
Input: 가
Console:
ng-keyup : undefined
Input: 감 (character is now fully composed)
Console:
ng-keyup : undefined
Input: 감ㅅ (starting the next character, same behaviour with space bar)
Console:
ng-change : 감
ng-watch: 감 undefined
ng-keyup : 감
If you change the Angular version of the Fiddle under External Resources to https://ajax.googleapis.com/ajax/libs/angularjs/1.2.1/angular.min.js, the console will log each typed character and not only once the character has been fully composed and the next character has started.