Keypress 'ctrl-enter' doesn't work?
Closed this issue · 5 comments
freewind commented
live demo: http://plnkr.co/edit/yRQXxFasz1KCYubDNYwS?p=preview
Key code:
<input ui-keypress="{'ctrl-enter': 'run($event)'}" placeholder="press ctrl+enter" />
and
$scope.run = function( $event){
alert('pressed');
$event.preventDefault();
}
When I press on the input with "ctrl+enter", nothing happens. My browser is chrome.
freewind commented
But it does work on firefox. Is it a chrome issue?
shaungrady commented
Works for me, Mac Chrome 25.0.1364.172
arnaudbreton commented
Same than #492 I guess
ProLoser commented
Can you please relocate this to @angular-ui/ui-utils
wesleycho commented
If this is still an issue, I recommend filing a new issue with the ui-utils
repository.