diff --git a/projects/angular-keyboard/package.json b/projects/angular-keyboard/package.json index 46577b7..e372430 100644 --- a/projects/angular-keyboard/package.json +++ b/projects/angular-keyboard/package.json @@ -1,4 +1,4 @@ { "name": "@taskbase/angular-keyboard", - "version": "0.0.10" -} + "version": "0.0.11" +} \ No newline at end of file diff --git a/projects/angular-keyboard/src/lib/fake-input/fake-input.component.ts b/projects/angular-keyboard/src/lib/fake-input/fake-input.component.ts index a0848e7..6ca7c0d 100755 --- a/projects/angular-keyboard/src/lib/fake-input/fake-input.component.ts +++ b/projects/angular-keyboard/src/lib/fake-input/fake-input.component.ts @@ -89,7 +89,12 @@ export class FakeInputComponent implements OnInit, OnDestroy { ngOnInit() { this.registerInputField(); this.chars = this.initialText - .split('').map(char => { + // We want the text to use canonical composition of special symbols like + // german umlaute and avoid treating the combining diaeresis character + // separately. + .normalize("NFKC") + .split('') + .map(char => { return { char };