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
Run this code somewhere in Brackets: Dialogs.showModalDialog(Dialogs.DIALOG_ID_ERROR, "Test", "<input type='text' />");
Try to type in the input field that appears in the dialog
Result: Field gets focused, but keystrokes do nothing
There's code in Dialogs._handleKeyDown() that attempts to let input elements work, but it looks wrong. Instead of this.filter(":input") it should probably be something like $(e.target).filter(":input").
The text was updated successfully, but these errors were encountered:
Comment by peterflynn Thursday Sep 27, 2012 at 01:20 GMT
Reopening -- I just discovered that key handling still prevents you from putting useful text fields in dialogs, since some keys are interpreted as dialog-closing shortcuts. For example, in the text dialog above try typing the letter "n" on Windows...
Thursday Jul 12, 2012 at 21:41 GMT
Originally opened as adobe/brackets#1243
Dialogs.showModalDialog(Dialogs.DIALOG_ID_ERROR, "Test", "<input type='text' />");
Result: Field gets focused, but keystrokes do nothing
There's code in
Dialogs._handleKeyDown()
that attempts to let input elements work, but it looks wrong. Instead ofthis.filter(":input")
it should probably be something like$(e.target).filter(":input")
.The text was updated successfully, but these errors were encountered: