The focused button (e.g. blue buttons) doesn’t submit form on ENTER press in Google Chrome 73.0.3683.86 (Mac). It was working correctly in previous Google Chrome versions.
Also working correctly on Firefox 66.0.2 (Mac).
Form is submitted as if I’ve clicked on the blue button with a mouse/trackpad.
- go to a commit page (e.g. https://secure.phabricator.com/rP18732a0d2ff82614f5d1181981b7a0d1f6b1b3a3)
- select code to add inline comment
- type in comment text
- press TAB key until you see blue “Save Draft” button is focused
- hit ENTER
Attempt to add commit-wide comment would also fail (button is focused, but pressing ENTER does nothing).
Basically before pressing enter on any control except textboxes (e.g. a dropdown) caused form to be submitted. Now it doesn’t.