@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.
package/build/index.js CHANGED
@@ -7068,6 +7068,13 @@ function SelectInputOptions({
7068
7068
  controllerRef.current.setAttribute('aria-activedescendant', value);
7069
7069
  } else {
7070
7070
  controllerRef.current.removeAttribute('aria-activedescendant');
7071
+ if (filterQuery) {
7072
+ // Ensure having an active option while filtering
7073
+ controllerRef.current.dispatchEvent(new KeyboardEvent('keydown', {
7074
+ key: 'Home',
7075
+ bubbles: true
7076
+ }));
7077
+ }
7071
7078
  }
7072
7079
  }
7073
7080
  },