Skip to content

Releases: smastrom/react-email-autocomplete

v1.2.0

10 Dec 21:39
2f4b31a
Compare
Choose a tag to compare

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 be false instead of following the focus.
  • Dynamically set role="combobox" only when suggestions are displayed.
  • Dynamically update input's type to email instead of text before focusing and recovering cursor position.

Deprecations

  • Deprecate customPrefix and wrapperId props which were redundant.
  • Deprecate isInvalid prop. Since v1.0.0 the attribute aria-invalid can be passed directly to the input element so this was unnecessary.

v1.0.0

10 Dec 03:23
Compare
Choose a tag to compare

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