Skip to content

Commit c4a6894

Browse files
committed
fix(modal): remove HTMLDialogElement interface
We'd have to add requestClose, so for now let's just remove this typescript-only feature
1 parent 2373413 commit c4a6894

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

elements/pf-modal/pf-modal.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ export class ModalOpenEvent extends ComposedEvent {
4343
* @fires {ModalCloseEvent} close - Fires when either a user clicks on either the close button or the overlay or manually closes a modal.
4444
*/
4545
@customElement('pf-modal')
46-
export class PfModal extends LitElement implements HTMLDialogElement {
46+
export class PfModal extends LitElement {
4747
static override readonly shadowRootOptions: ShadowRootInit = {
4848
...LitElement.shadowRootOptions,
4949
delegatesFocus: true,

0 commit comments

Comments
 (0)