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

hello world example sometimes misses characters #21

Open
silverbucket opened this issue Oct 11, 2014 · 4 comments
Open

hello world example sometimes misses characters #21

silverbucket opened this issue Oct 11, 2014 · 4 comments

Comments

@silverbucket
Copy link
Member

If you type a name fast into the input, the onchange events don't always complete the name correctly. A few characters can end up missing from the end of the "Hello " area.

@silverbucket
Copy link
Member Author

Not sure if this is a starter-kit or remotestorage.js bug, but figured I'd report it here to see what you think @michielbdejong - it's easily reproduceable, just type a name fastly into the input. For instance, I tried bart simpson and kendle moore and it happened with both when typing very fast.

@michielbdejong
Copy link
Member

looks like there's definitely a bug, but to me it looks slightly different: when i typed 'asdfasdfasdf' quickly, i first saw 'asdfasdfasdf' appear, and then it changed to 'asdf'. then i typed 'qwerqwerqwer' behind it, and saw 'asdfasdfasdfqwer' appear. then i typed a single 'q' and the whole 'asdfasdfasdfqwerqwerqwerq' appeared.

@silverbucket try typing a single 'x' or whatever after your 'bart simpson', does that make it correct to 'bart simpsonx'?

marking as easy.

@silverbucket
Copy link
Member Author

Yup, exactly the same behavior you describe. It seems to get an older change event after the latest, deleting the last few chars. Then with any new character entered, the full text is restored + new character.

@michielbdejong
Copy link
Member

Looks like a problem with the library probably, opened an issue there ^

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

No branches or pull requests

2 participants