Releases: smastrom/react-email-autocomplete
Releases · smastrom/react-email-autocomplete
v1.2.0
Release notes
What's new
- Add the ability to keep entering the email when a suggestion is focused also if typing
@and.. Before this release only alphanumeric charactes were allowed. - Suggestions dropdown is now closed when the window loses its focus or if right-clicking outside of the
<Email />component.
Accessibility improvements and fixes
- Fix
aria-selectedattribute to always befalseinstead of following the focus. - Dynamically set
role="combobox"only when suggestions are displayed. - Dynamically update input's type to
emailinstead oftextbefore focusing and recovering cursor position.
Deprecations
- Deprecate
customPrefixandwrapperIdprops which were redundant. - Deprecate
isInvalidprop. Sincev1.0.0the attributearia-invalidcan be passed directly to the input element so this was unnecessary.
v1.0.0
Release notes
React Email Autocomplete is an unstyled, zero-dependency component inspired by some european flight booking websites. As soon as users start typing their email address, it will suggest the most common email providers.
Check out the repo: smastrom/react-email-autocomplete
Or install it now:
pnpm add @smastrom/react-email-autocomplete