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-selected
attribute to always befalse
instead of following the focus. - Dynamically set
role="combobox"
only when suggestions are displayed. - Dynamically update input's type to
email
instead oftext
before focusing and recovering cursor position.
Deprecations
- Deprecate
customPrefix
andwrapperId
props which were redundant. - Deprecate
isInvalid
prop. Sincev1.0.0
the attributearia-invalid
can 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