Skip to content
This repository was archived by the owner on Jan 7, 2021. It is now read-only.
This repository was archived by the owner on Jan 7, 2021. It is now read-only.

When typing too fast, the cursor of <input> text elements is set to the end of the text. #2

@pragmatrix

Description

@pragmatrix

Probably because updates from the server do not match what's displayed.

The client should only display new data from the server when its own events were incorporated in the response.

Ideas:

  • Give each event a new version and let the server send this version back. This way the client knows if the response is up to date with the client.
  • Give each event a unique id and send the incorporated ids back with each response.

I think the second one is the best solution and also would work with multiple clients that access the panel at the same time.

Metadata

Metadata

Assignees

Labels

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions