New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@vaadin/combo-box

Package Overview
Dependencies
Maintainers
14
Versions
420
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vaadin/combo-box - npm Package Compare versions

Comparing version 23.1.0-beta2 to 23.1.0-beta3

28

package.json
{
"name": "@vaadin/combo-box",
"version": "23.1.0-beta2",
"version": "23.1.0-beta3",
"publishConfig": {

@@ -39,22 +39,22 @@ "access": "public"

"@polymer/polymer": "^3.0.0",
"@vaadin/component-base": "23.1.0-beta2",
"@vaadin/field-base": "23.1.0-beta2",
"@vaadin/input-container": "23.1.0-beta2",
"@vaadin/item": "23.1.0-beta2",
"@vaadin/lit-renderer": "23.1.0-beta2",
"@vaadin/vaadin-lumo-styles": "23.1.0-beta2",
"@vaadin/vaadin-material-styles": "23.1.0-beta2",
"@vaadin/vaadin-overlay": "23.1.0-beta2",
"@vaadin/vaadin-themable-mixin": "23.1.0-beta2"
"@vaadin/component-base": "23.1.0-beta3",
"@vaadin/field-base": "23.1.0-beta3",
"@vaadin/input-container": "23.1.0-beta3",
"@vaadin/item": "23.1.0-beta3",
"@vaadin/lit-renderer": "23.1.0-beta3",
"@vaadin/vaadin-lumo-styles": "23.1.0-beta3",
"@vaadin/vaadin-material-styles": "23.1.0-beta3",
"@vaadin/vaadin-overlay": "23.1.0-beta3",
"@vaadin/vaadin-themable-mixin": "23.1.0-beta3"
},
"devDependencies": {
"@esm-bundle/chai": "^4.3.4",
"@vaadin/dialog": "23.1.0-beta2",
"@vaadin/polymer-legacy-adapter": "23.1.0-beta2",
"@vaadin/dialog": "23.1.0-beta3",
"@vaadin/polymer-legacy-adapter": "23.1.0-beta3",
"@vaadin/testing-helpers": "^0.3.2",
"@vaadin/text-field": "23.1.0-beta2",
"@vaadin/text-field": "23.1.0-beta3",
"lit": "^2.0.0",
"sinon": "^13.0.2"
},
"gitHead": "f11f9245a0b5e6bf912725a501c27c24b74e7c8d"
"gitHead": "c787ceb8a312f88631c6d429ff320d5f89b1b838"
}

@@ -974,11 +974,15 @@ /**

const inputValue = this._inputElementValue;
if (inputValue === undefined || inputValue === this._getItemLabel(this.selectedItem)) {
// When the input element value is the same as the current value or not defined,
// set the focused index to the item that matches the value.
this._focusedIndex = this.$.dropdown.indexOfLabel(this._getItemLabel(this.selectedItem));
} else {
// When the user filled in something that is different from the current value = filtering is enabled,
// set the focused index to the item that matches the filter query.
this._focusedIndex = this.$.dropdown.indexOfLabel(this.filter);
// Do not update `_focusedIndex` to from `-1` to old value during scroll.
// Otherwise, the scroll would jump back to the previously focused item.
if (!this.loading) {
const inputValue = this._inputElementValue;
if (inputValue === undefined || inputValue === this._getItemLabel(this.selectedItem)) {
// When the input element value is the same as the current value or not defined,
// set the focused index to the item that matches the value.
this._focusedIndex = this.$.dropdown.indexOfLabel(this._getItemLabel(this.selectedItem));
} else {
// When the user filled in something that is different from the current value = filtering is enabled,
// set the focused index to the item that matches the filter query.
this._focusedIndex = this.$.dropdown.indexOfLabel(this.filter);
}
}

@@ -985,0 +989,0 @@ }

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc