gecko-app icon indicating copy to clipboard operation
gecko-app copied to clipboard

Prediction is triggered too early during demo on Firefox

Open thiborose opened this issue 5 years ago • 2 comments

When a demo is launched, on the longest sentences, the prediction is triggered before the sentence is completely filled in the input box. This causes the output to be corrupted.

Issue occuring on Firefox. Not occuring on: Brave, Chrome, Chromium, Edge.

File involved: https://github.com/psawa/gecko-app/blob/master/application/static/js/demo.js

thiborose avatar Dec 30 '20 15:12 thiborose

Similarly, I noticed that in chrome, if the browser is focused on another tab, the demo animation will halt. Then the prediction will be triggered before the input sentence is complete.

thiborose avatar Jan 01 '21 10:01 thiborose

When a demo is launched, on the longest sentences, the prediction is triggered before the sentence is completely filled in the input box. This causes the output to be corrupted.

I don't have this issue on Firefox.

Similarly, I noticed that in chrome, if the browser is focused on another tab, the demo animation will halt. Then the prediction will be triggered before the input sentence is complete.

Happens on Firefox too.

jacqle avatar Jan 09 '21 16:01 jacqle