@transferwise/components 46.2.0 → 46.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -7034,6 +7034,13 @@ function SelectInputOptions({
7034
7034
  controllerRef.current.setAttribute('aria-activedescendant', value);
7035
7035
  } else {
7036
7036
  controllerRef.current.removeAttribute('aria-activedescendant');
7037
+ if (filterQuery) {
7038
+ // Ensure having an active option while filtering
7039
+ controllerRef.current.dispatchEvent(new KeyboardEvent('keydown', {
7040
+ key: 'Home',
7041
+ bubbles: true
7042
+ }));
7043
+ }
7037
7044
  }
7038
7045
  }
7039
7046
  },