sign / translate

Effortless Real-Time Sign Language Translation
https://sign.mt
Other
473 stars 80 forks source link

[BUG] Flying Keyboard does not match keyboard animation #115

Open AmitMY opened 11 months ago

AmitMY commented 11 months ago

Current Behavior

The iOS keyboard uses a spring animation, that we are trying to approximate using a bezier: https://github.com/sign/translate/blob/7a8f358780318251ac681853eef46204f0e933e6/src/app/directives/keyboard-flying.directive.ts#L34

Expected Behavior

Best solution would be to use a spring animation.

Second best solution would be to track the keyboard frame-by-frame, and fit a better bezier curve based on the actual placement (when closing and opening)

Steps To Reproduce

On a mobile device, in the spoken-to-signed direction, hit the text box.

https://github.com/ionic-team/ionic-framework/assets/5757359/d007f739-ab5c-4b07-b3da-9a147b786503

Related issues

https://github.com/ionic-team/ionic-framework/issues/28226