@vaadin/vaadin-list-mixin
Advanced tools
Comparing version 2.2.0 to 2.2.1
@@ -13,3 +13,3 @@ { | ||
"name": "@vaadin/vaadin-list-mixin", | ||
"version": "2.2.0", | ||
"version": "2.2.1", | ||
"main": "vaadin-list-mixin.js", | ||
@@ -16,0 +16,0 @@ "author": "Vaadin Ltd", |
@@ -33,3 +33,3 @@ ![Bower version](https://img.shields.io/bower/v/vaadin-list-mixin.svg) | ||
We are using [ESLint](http://eslint.org/) for linting JavaScript code. You can check if your code is following our standards by running `gulp lint`, which will automatically lint all `.js` files as well as JavaScript snippets inside `.html` files. | ||
We are using [ESLint](http://eslint.org/) for linting JavaScript code. You can check if your code is following our standards by running `npm run lint`, which will automatically lint all `.js` files as well as JavaScript snippets inside `.html` files. | ||
@@ -36,0 +36,0 @@ |
@@ -219,4 +219,4 @@ /** | ||
// In initialisation (e.g vaadin-select) observer might not been run yet. | ||
this._observer.flush(); | ||
const firstItem = (this.querySelector('[tabindex="0"]') || this.items[0]); | ||
this._observer && this._observer.flush(); | ||
const firstItem = this.querySelector('[tabindex="0"]') || (this.items ? this.items[0] : null); | ||
firstItem && firstItem.focus(); | ||
@@ -223,0 +223,0 @@ } |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
20925