We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7a1e5c9 commit cbe1391Copy full SHA for cbe1391
src/utils/focus/getActiveElement.ts
@@ -1,8 +1,6 @@
1
import {isDisabled} from '../misc/isDisabled'
2
3
-export function getActiveElement(
4
- document: Document | ShadowRoot,
5
-): Element | null {
+function getActiveElement(document: Document | ShadowRoot): Element | null {
6
const activeElement = document.activeElement
7
8
if (activeElement?.shadowRoot) {
0 commit comments