by-pinja / ng-virtual-keyboard

Virtual Keyboard for Angular applications
https://protacon.github.io/ng-virtual-keyboard/
MIT License
25 stars 43 forks source link

Backspace not updating model #16

Closed srmiranda closed 3 years ago

srmiranda commented 6 years ago

The backspace key doesn't fire a key event and isn't updating the model unless you press a new key. If you have "aaa" and backspace, it won't update unless you hit "b", making it "aab" as an example. Otherwise, backspacing makes no change to the model until you change what it originally was by adding new characters or numbers.

tarlepp commented 5 years ago

Could you make an PR to solve this issue?

newtask commented 5 years ago

just add "this.dispatchEvents(event);" after line 278 in src/virtual-keyboard.component.ts

This solves this issue.

Hekku2 commented 3 years ago

This is now fixed in release 0.9.1