@operato/popup
Advanced tools
Comparing version 8.0.0 to 8.0.2
@@ -276,3 +276,3 @@ import { __decorate } from "tslib"; | ||
guaranteeFocus(target) { | ||
const focusible = (target || this).querySelector(':scope > button, :scope > [href], :scope > input, :scope > select, :scope > textarea, :scope > [tabindex]:not([tabindex="-1"])'); | ||
const focusible = (target || this).querySelector(':host > button, :host > [href], :host > input, :host > select, :host > textarea, :host > [tabindex]:not([tabindex="-1"])'); | ||
if (focusible) { | ||
@@ -279,0 +279,0 @@ ; |
@@ -383,3 +383,3 @@ import { __decorate } from "tslib"; | ||
guaranteeFocus(target) { | ||
const focusible = (target || this.renderRoot)?.querySelector(':scope > button, :scope > [href], :scope > input, :scope > select, :scope > textarea, :scope > [tabindex]:not([tabindex="-1"]), :scope [type="button"]'); | ||
const focusible = (target || this.renderRoot)?.querySelector(':host > button, :host > [href], :host > input, :host > select, :host > textarea, :host > [tabindex]:not([tabindex="-1"]), :host [type="button"]'); | ||
if (focusible) { | ||
@@ -386,0 +386,0 @@ ; |
@@ -5,3 +5,3 @@ { | ||
"author": "heartyoh", | ||
"version": "8.0.0", | ||
"version": "8.0.2", | ||
"main": "dist/src/index.js", | ||
@@ -104,3 +104,3 @@ "module": "dist/src/index.js", | ||
}, | ||
"gitHead": "180d521a2ca296829122361a45be86e8542ada43" | ||
"gitHead": "fde85dca498f57fb4aa2c1edf25d18bbbce14c15" | ||
} |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
546058
77
4941