Socket
Socket
Sign inDemoInstall

@vaadin/field-base

Package Overview
Dependencies
Maintainers
12
Versions
374
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vaadin/field-base - npm Package Compare versions

Comparing version 23.2.0-alpha4 to 23.2.0-alpha5

6

package.json
{
"name": "@vaadin/field-base",
"version": "23.2.0-alpha4",
"version": "23.2.0-alpha5",
"publishConfig": {

@@ -35,3 +35,3 @@ "access": "public"

"@polymer/polymer": "^3.0.0",
"@vaadin/component-base": "23.2.0-alpha4",
"@vaadin/component-base": "23.2.0-alpha5",
"lit": "^2.0.0"

@@ -44,3 +44,3 @@ },

},
"gitHead": "cbf5f1d0f38ac9b81c65cf9ef5660182e176e598"
"gitHead": "c6247fd741d61096d75a71feda4a1faf88b6f0ce"
}

@@ -8,2 +8,3 @@ /**

import { DisabledMixin } from '@vaadin/component-base/src/disabled-mixin.js';
import { isElementFocused } from '@vaadin/component-base/src/focus-utils.js';
import { DelegateStateMixin } from './delegate-state-mixin.js';

@@ -48,3 +49,11 @@ import { InputMixin } from './input-mixin.js';

_onChange(event) {
this._toggleChecked(event.target.checked);
const input = event.target;
this._toggleChecked(input.checked);
// Clicking the checkbox or radio-button in Safari
// does not make it focused, so we do it manually.
if (!isElementFocused(input)) {
input.focus();
}
}

@@ -51,0 +60,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