You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Got it, interesting. One thing I've noticed (without looking at the source yet) is that there seems to be some sort of debounce when updating the No results match "blahhhhhhhhhhhhhhh"but specifically on delete. In other words, if you:
enter a long random (unmatched string), you'll note the "no results match" message, then
hold down delete for a second or two to iteratively delete few characters in a row...
then I don't see the search update from: No results match "blahhhhhhhhhhhhhhh"
to
No results match "blahhh"
until I let go of delete. Just a random observation, not sure if that's related to the issue. In any case, if you'd rather close this issue, that's cool.
I'll leave it open for now for someone else to hopefully confirm/deny a reproduction on their end as well. Please submit a PR if you have any ideas on getting the behaviors to match!
Will do, thanks. Last thing to note for anyone looking into this: it seems I get the expected (Flow B) behavior when I use option + delete (word by word delete) vs command + delete (delete to beginning of line), on my mac keyboard.
I can reproduce. This Stackoverflow thread has details of the issue. It is expected behaviour, with no known workaround to the root issue.
I've submitted a PR which simply allows the search function to run when Cmd is pressed. This is an effective workaround, and doesn't seem to introduce any issues (other than potentially being less efficient if someone is pushing Cmd/Windows Key).
Activity
tjschuck commentedon Feb 3, 2016
Thanks for the detailed report, @ramdog !
However, I can't reproduce 😬 What browser, browser version, OS, and OS version are you using?
ramdog commentedon Feb 3, 2016
@tjschuck Thanks for the quick reply! Good point, should have noted:
48.0.2564.97 (64-bit)10.10.5 (14F1509)tjschuck commentedon Feb 3, 2016
Hm, on the same version of Chrome, I'm not seeing the issue. If I press cmd-backspace, as soon as I release command, it clears as I'd expect.
I'm on OS X El Cap, though, so perhaps that's the problem, though I doubt it would be...
ramdog commentedon Feb 3, 2016
Hmm, I just borrowed my cubemate's machine which is on El Cap (not sure on Chrome version) and I saw the same behavior (the buggy behavior).
When you say you can't reproduce, does that mean you only see the results in Flow A or Flow B?
tjschuck commentedon Feb 3, 2016
Same as your expectations -- Flow B seems correct; Flow A seems like a bug. But for me, Flow A (cmd-backspace) also clears the search as expected.
ramdog commentedon Feb 3, 2016
Got it, interesting. One thing I've noticed (without looking at the source yet) is that there seems to be some sort of debounce when updating the
No results match "blahhhhhhhhhhhhhhh"but specifically on delete. In other words, if you:then I don't see the search update from:
No results match "blahhhhhhhhhhhhhhh"to
No results match "blahhh"until I let go of delete. Just a random observation, not sure if that's related to the issue. In any case, if you'd rather close this issue, that's cool.
tjschuck commentedon Feb 3, 2016
I'll leave it open for now for someone else to hopefully confirm/deny a reproduction on their end as well. Please submit a PR if you have any ideas on getting the behaviors to match!
ramdog commentedon Feb 3, 2016
Will do, thanks. Last thing to note for anyone looking into this: it seems I get the expected (Flow B) behavior when I use
option + delete(word by word delete) vscommand + delete(delete to beginning of line), on my mac keyboard.koenpunt commentedon Feb 24, 2016
I can reproduce. Probably the keyup event of the meta key is not handled.
IanSimpson commentedon Sep 25, 2016
I can reproduce. This Stackoverflow thread has details of the issue. It is expected behaviour, with no known workaround to the root issue.
I've submitted a PR which simply allows the search function to run when Cmd is pressed. This is an effective workaround, and doesn't seem to introduce any issues (other than potentially being less efficient if someone is pushing Cmd/Windows Key).