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

Get something wrong when i type fastin chrome 80 on linux. #116

Open
bloodnighttw opened this issue Feb 28, 2020 · 2 comments
Open

Get something wrong when i type fastin chrome 80 on linux. #116

bloodnighttw opened this issue Feb 28, 2020 · 2 comments

Comments

@bloodnighttw
Copy link

https://www.youtube.com/watch?v=fihcGc6_Yzs&feature=youtu.be
When i type 15 'n' fast,it will show more than 15 'n' or some space and can't del.
(Sorry about my bad english)

@bloodnighttw
Copy link
Author

By the way,bug don't appear on firefox.
Only appear on linux chrome

@boatcoder
Copy link

boatcoder commented Aug 21, 2023

This is a bug caused by the excessive hammering on the /markdownify URL. It is worse in Chrome, but it exists in Chrome and FF. We are working on a fix for this that will set a timer when the first keystroke goes down. When that timer expires, the buffer of text will be sent for /markdownify. This will allow us to do more of a batch update than a character by character dispatch to the server.

Easy way to see this is use the Martor field in the admin and type a long sentence (manually, not copy/paste)

If you watch the network requests while you do this you will see on chrome they will be "delayed" by chrome and not by firefox.

Our proposed solution is to introduce a configurable timer that will allow the control to be responsive but less spammy

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants