-
-
Notifications
You must be signed in to change notification settings - Fork 337
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
[form validation] keyHeldDown conflicting behavior #3012
Comments
keyHeldDown is false by default and only gets set to true whenever a key is actually, well, held down ;) (it gets false again when key is released) If i misunderstood or dont understand, please provide a jsfiddle explaining your use case where we can reproduce the need of a change. |
the mechanic to release the "hold" state its not atomic and may be intercepted or canceled by others events I have resorted to disable keyboardShortcuts and re-implement the desired behavior myself |
The mentioned code only applies when the enter key is pressed inside an input to prevent double form submit. In all other cases the keyHeldDown is kept false. That said, i actually don't know how/what to change in the FUI core without a proper testcase which illustrates the bug. |
Bug Report
the use of keyHeldDown together with the "validate form" behavior is not compatible, as (the behavior) when called externally: $(elem).form("validate form") has no key interaction, in fact, it should not consider keyHeldDown when called in this manner.
The text was updated successfully, but these errors were encountered: