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
{{ message }}
This repository was archived by the owner on Sep 5, 2024. It is now read-only.
In Chrome mobile, if using mdChips in a form with additional inputs after mdChips (whether those inputs are more mdChips or normal text inputs or textareas), pressing "Enter" focuses the next input instead of adding the chip and keeping focus. This is only applicable if the form elements are inside the same form element, which is why it's not noticeable on the demo page (the first mdChips element is inside its own form, the rest aren't in a form). As a result, unless md-add-on-blur is enabled, it's not actually possible to add a chip in Chrome mobile in a form with inputs after mdChips (using md-add-on-blur comes with its own issues, though).
What is the expected behavior?
Pressing the enter key on a mobile device should add the chip and retain focus on the active mdChips.
What is the current behavior?
Pressing the enter key places focus on the next element after mdChips and the text remains in the mdChips input, without being added as a chip.
I've tested this in Firefox mobile on Android and this issue is not present. I don't have access to an iPhone to see if the issue exists on Safari or Chrome for iOS.