Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@vaadin/a11y-base

Package Overview
Dependencies
Maintainers
0
Versions
190
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vaadin/a11y-base - npm Package Compare versions

Comparing version 24.5.0-alpha6 to 24.5.0-alpha7

6

package.json
{
"name": "@vaadin/a11y-base",
"version": "24.5.0-alpha6",
"version": "24.5.0-alpha7",
"publishConfig": {

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

"@polymer/polymer": "^3.0.0",
"@vaadin/component-base": "24.5.0-alpha6",
"@vaadin/component-base": "24.5.0-alpha7",
"lit": "^3.0.0"

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

},
"gitHead": "c5f541dbe961a994730d4c60472ae957bf6b4c12"
"gitHead": "89f77a69ae0eba6247f2b3084941f9395d7134e1"
}

@@ -26,3 +26,3 @@ /**

*/
restoreFocus() {
restoreFocus(options) {
const focusNode = this.focusNode;

@@ -33,2 +33,4 @@ if (!focusNode) {

const preventScroll = options ? options.preventScroll : false;
if (getDeepActiveElement() === document.body) {

@@ -39,5 +41,5 @@ // In Firefox and Safari, focusing the node synchronously

// there until the next event loop iteration.
setTimeout(() => focusNode.focus());
setTimeout(() => focusNode.focus({ preventScroll }));
} else {
focusNode.focus();
focusNode.focus({ preventScroll });
}

@@ -44,0 +46,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