-
-
Notifications
You must be signed in to change notification settings - Fork 39
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
Text disappears while typing #343
Comments
This is weird. I've looked around and experimented with things and am getting wildly erratic results; sometimes reproducing this error, sometimes not. I've found some similar issues reported with Vue's
But again, this amounts to essentially the same advice as above. Soooo... 🤷♂️ Afraid to say I'm gonna punt on this one though until after 1.0.0 or later. |
Hmm now i'm seeing the same behavior in my browser on my laptop as I'm typing on my regular keyboard. :-( So this might not just be an Android glide typing issue. |
Bumping this up as a blocker to v1.0.0 because it makes the text fields almost unusable. I'm curious if I'm the only one experiencing this. It's happening consistently in Firefox on Android and Ubuntu. |
Hm, I'm still having trouble reproducing this consistently. I can't even reproduce it with glide typing now. I've tried it on Android Chrome (with multiple keyboards), Ubuntu Chrome and Ubuntu Firefox. No issues. Can you describe the behavior as you're experiencing it on your laptop with a physical keyboard? Have you looked to see if there are any errors appearing in the console on Ubuntu Firefox? |
Ok, after a call with @mstenta, I think we've identified some likely causes. Initially, I thought the main culprit was It seems very likely to me that there are race conditions between the initial input event, the I'm oversimplifying, but we essentially have 4 steps for that must occur each time a log updates:
So let's say we have 2 successive updates from the input field, first Update A then Update B, and they're updating the
However, it may actually be executing in this sequence:
There are a few places where asynchonisity could be biting us in the butt; step 4 is the most conspicuous, but I think step 2 might be even more consequential, because once the One thing @mstenta and I noticed was that this bug was easiest to reproduce if you refreshed the "Edit Log" screen and immediately started typing in the I'm still not 100% sure the best way to remedy this, but I think I've got a better handle on why this is happening now. |
Some next steps towards resolving this:
|
In the course of this I'm totally overhauling how the |
I use Android's "glide type" feature for typing into text fields on my phone (spell out a word by dragging my finger over all the letters). I'm finding that this is buggy in Field Kit. After "glide typing" a word, it sort of flashes and then disappears, and I have to do it again. It is pretty consistent, but sometimes the word does stick.
I have to assume this is something to do with the way Vue.js is monitoring/propagating changes to the input fields, but I don't know enough to be able to test further. I tried testing the same glide typing in this example Vue.js form and did NOT experience the same issue: https://vuejsexamples.com/simple-vue-js-contact-form-2/
The text was updated successfully, but these errors were encountered: