Enter on mdInput triggers MouseEvent on associated form elements
Bug:
In the attached StackBlitz, pressing Enter in the input element triggers a MouseEvent on the associated button.
What is the expected behaviour?
Enter should not trigger events on associated elements.
Workaround is to test for MouseEvent.pageX (say)
What is the current behaviour?
(see above)
What are the steps to reproduce?
https://stackblitz.com/edit/angular-mkavs6-fzxrhj
Which versions of Angular, Material?
NG 6.0.0
This is the default way that native inputs behave. I don't think it's something Material should be messing with.
OK KeyboardEvent triggering MouseEvent is not what I'd have expected.
This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.