adobe / adobe/cc-ext-uxp-types

HTMLDialogElement is missing

Open
#6 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
15
Forks
5
PR merge metrics
No merged PRs in 30d

Description

### Expected Behaviour
`HTMLDialogElement.showModal()` has argument as option
so you can specify dialog size and title

e.g.
```JS
HTMLDialogElement.showModal({
title: title,
size: {
width: 300,
},
});
```

### Actual Behaviour
`HTMLDialogElement.showModal()` has no argument

Contributor guide

Open the contributing guide

Research direction

Locate the type declaration for HTMLDialogElement and inspect the showModal signature. Use the issue's title and size example as the requested shape; the work is done when the declaration accepts those options and existing type checks still pass.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.