@atlassian/aui 9.6.2 → 9.6.3

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@atlassian/aui",
3
3
  "description": "Atlassian User Interface library",
4
- "version": "9.6.2",
4
+ "version": "9.6.3",
5
5
  "author": "Atlassian Pty Ltd.",
6
6
  "homepage": "https://aui.atlassian.com",
7
7
  "license": "Apache-2.0",
@@ -798,7 +798,12 @@ var dropdownPrototype = {
798
798
  // the dropdown is closed.
799
799
  if (previousLayout && focusTrigger) {
800
800
  doIfTrigger(previousLayout.el, (trigger) => {
801
- trigger.focus();
801
+ // Delay focusing to allow things to settle; otherwise
802
+ // Skatejs's MutationObserver kicks in and opens the dropdown
803
+ // again.
804
+ setTimeout(() => {
805
+ trigger.focus();
806
+ }, 0)
802
807
  setTrigger(previousLayout.el, null);
803
808
  });
804
809
  }
@@ -0,0 +1 @@
1
+ console.debug('AUI import for WRM I18n not loaded');
@@ -1,3 +1,5 @@
1
+ // Import the I18n system from the WRM, webpack handles this
2
+ import 'wrmI18n';
1
3
  import format from './format';
2
4
  import { putOnI18nIfAbsent } from './internal/globalize';
3
5
  import keys from './internal/i18n/aui';