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
If we create a bind for a key X on mode Y changing the mode to Z (bind --mode=Y X mode Z), the first time we press X on mode Z the keypress event is suppressed.
I found this issue when I tried to create a gi bind on the ruby on rails exception screen to focus the rails web-console.
As console is not a input field, but a span that listen to keypress events, I have to focus the element then change the mode to ignore.
When I started to type I noticed it was ignoring the first time I press g and i.
Brief description of the problem:
If we create a bind for a key
X
on modeY
changing the mode toZ
(bind --mode=Y X mode Z
), the first time we pressX
on modeZ
thekeypress
event is suppressed.I found this issue when I tried to create a
gi
bind on the ruby on rails exception screen to focus the rails web-console.As console is not a input field, but a span that listen to
keypress
events, I have to focus the element then change the mode to ignore.When I started to type I noticed it was ignoring the first time I press g and i.
Steps to reproduce:
e
3 times in normal modeExpected behavior
Actual behavior
keypress
event is not loggedEnvironment
The text was updated successfully, but these errors were encountered: