Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Can't type 'enter' in text editors inside dialogs #5802
If a CodeEditor (in my case, a JSONEditor) is placed inside a Dialog, you can not create a newline in the code editor with the enter key. This seems to be because the Dialog unconditionally catches the 'Enter' (#1652) and doesn't let the event go to the editor itself.
referenced this issue
Dec 23, 2018
The modal dialog should only handle events that haven't been already handled by any of its child nodes. So a full featured text editor can trap enter / esc / tab, but a radio button / single-line text box might not.
@jasongrout pointed out