mirror of
https://github.com/shoelace-style/shoelace.git
synced 2026-01-12 11:09:13 +00:00
Update src/internal/modal.ts
Co-authored-by: Cory LaViska <cory@abeautifulsite.net>
This commit is contained in:
@@ -58,7 +58,7 @@ export default class Modal {
|
||||
|
||||
/**
|
||||
* Checks if the `startElement` is already focused. This is important if the modal already
|
||||
* has an existing focused prior to the first tab key.
|
||||
* has an existing focus prior to the first tab key.
|
||||
*/
|
||||
startElementAlreadyFocused(startElement: HTMLElement) {
|
||||
for (const activeElement of activeElements()) {
|
||||
|
||||
Reference in New Issue
Block a user