@atlassian/aui 10.1.7 → 10.1.8

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": "10.1.7",
4
+ "version": "10.1.8",
5
5
  "author": "Atlassian Pty Ltd.",
6
6
  "homepage": "https://aui.atlassian.com",
7
7
  "license": "Apache-2.0",
@@ -246,7 +246,7 @@ the specific language governing permissions and limitations under the Apache Lic
246
246
  window.setTimeout(function() {
247
247
  var el=$el[0], pos=$el.val().length, range;
248
248
 
249
- $el.focus();
249
+ $el.trigger("focus");
250
250
 
251
251
  /* make sure el received focus so we do not error out when trying to manipulate the caret.
252
252
  sometimes modals or others listeners may steal it after its set */
@@ -1323,12 +1323,12 @@ the specific language governing permissions and limitations under the Apache Lic
1323
1323
 
1324
1324
  // some validation frameworks ignore the change event and listen instead to keyup, click for selects
1325
1325
  // so here we trigger the click event manually
1326
- this.opts.element.click();
1326
+ this.opts.element.trigger("click");
1327
1327
 
1328
1328
  // ValidationEngine ignores the change event and listens instead to blur
1329
1329
  // so here we trigger the blur event manually if so desired
1330
1330
  if (this.opts.blurOnChange)
1331
- this.opts.element.blur();
1331
+ this.opts.element.trigger("blur");
1332
1332
  },
1333
1333
 
1334
1334
  //abstract