ngx-material-keyboard / core

Onscreen virtual keyboard for Angular ≥ 5 (https://angular.io/) using Angular Material (https://material.angular.io/).
https://ngx-material-keyboard.github.io/core/
99 stars 120 forks source link

Keyboard class keys set the keyboard to default mode once clicked on them. #104

Open ashishmau opened 4 years ago

ashishmau commented 4 years ago

eg. when you press shift key it switch to new buttons, but when you press any of button it goes back to its previous mode. issue in angular 9

victorwiedmer commented 4 years ago

How did you managed to work in Angular 9? I'm getting the following error: "export 'LIVE_ANNOUNCER_PROVIDER' was not found in '@angular/cdk/a11y' Thanks

ashishmau commented 4 years ago

you need to install npm i ngx9-virtual-material-keyboard for angular 9 ,

https://www.npmjs.com/package/ngx9-virtual-material-keyboard

victorwiedmer commented 4 years ago

i've already tried with no success.

_ERROR in ./node_modules/ngx9-virtual-material-keyboard/ngx9-material-keyboard-core.ngfactory.js Module not found: Error: Can't resolve '@ngx9-material-keyboard/core' in 'D:\myProjectPath\nodemodules\ngx9-virtual-material-keyboard'

ashishmau commented 4 years ago

@victorwiedmer: I also get very trouble while installing, try below steps 1.create new angular9 project 2.install angular material library >> ng add @angular/material 3.install >> npm i ngx9-virtual-material-keyboard

victorwiedmer commented 4 years ago

@ashishmau Thanks. In a new Angular 9 project, as you said, it's working. It,s something with my project, i'll try to figure out whats going on.

ashishmau commented 4 years ago

@victorwiedmer any update?

victorwiedmer commented 4 years ago

@ashishmau i've managed to make it work. My project was updated from Angular 8 to 9 and some compiler configurations was different from a fresh Angular 9 project. Mainly changed tsconfig.json target from es5 to es2015. Now i'm having trouble with the keyboard and masked inputs. Thanks for your help.

ashishmau commented 4 years ago

@victorwiedmer is there any fix you found for this?

victorwiedmer commented 4 years ago

I've found a fork on Github for this project, that launches the "input" event, then i've managed the caret myself. Maybe it fixes your problem too.

https://github.com/Iris0905/angular-onscreen-material-keyboard

Em qua, 15 de abr de 2020 08:17, ashishmau notifications@github.com escreveu:

@victorwiedmer https://github.com/victorwiedmer is there any fix you found for this?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/ngx-material-keyboard/core/issues/104#issuecomment-613977086, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACZNK2FLNE2CDDEWCYNXVB3RMWJUHANCNFSM4MEUZ4RQ .

ashishmau commented 4 years ago

@victorwiedmer : I've tried to do so , but still that Keyclass issue exist!

j-frost commented 4 years ago

I got it to work by installing angular-onscreen-material-keyboard. The shift key is only for one letter, but you can use the caps lock key instead, that works for however long you want.