Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Last character inputted to text field (sometimes) does not get sent as item.update to server #46

Closed
jussisaurio opened this issue Nov 1, 2020 · 1 comment
Labels
bug Something isn't working

Comments

@jussisaurio
Copy link
Collaborator

Reproduced this manually, but it seems like Cypress tests sometimes flake for the same reason as well, e.g. expected to find text "HELLO" but found "HELL" instead

Web development is HELL

@jussisaurio jussisaurio added the bug Something isn't working label Nov 1, 2020
@raimohanska
Copy link
Owner

Easy to reproduce by slowing down server acks like setTimeout(() => ackFn?.("ack"), 500) and then just typing quickly "asdf" on a note. On the client side it seems that the latest texts are enqueued but never sent. Indicates a bug in message-queue.

Did not have time to find out what actually happens in message-queue, resulting to not sending the latest events.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants