Skip to content

Commit

Permalink
Change dialog invoke actions to close rather than cancel
Browse files Browse the repository at this point in the history
  • Loading branch information
lukewarlow committed Nov 16, 2023
1 parent 31aad31 commit d484bdb
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions site/src/pages/components/invokers.explainer.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -371,9 +371,8 @@ that this list is ordered and higher rules take precedence:
| `<* popover>` | `'togglePopover'` | Call `.togglePopover()` on the invokee |
| `<* popover>` | `'hidePopover'` | Call `.hidePopover()` on the invokee |
| `<* popover>` | `'showPopover'` | Call `.showPopover()` on the invokee |
| `<dialog>` | `'auto'` | If the `<dialog>` is not `open`, call `showModal()`, otherwise cancel the dialog |
| `<dialog>` | `'toggleModal'` | If the `<dialog>` is not `open`, call `showModal()`, otherwise cancel the dialog |
| `<dialog>` | `'cancel'` | If the `<dialog>` is `open`, cancel the dialog |
| `<dialog>` | `'auto'` | If the `<dialog>` is not `open`, call `showModal()`, otherwise close the dialog |
| `<dialog>` | `'toggleModal'` | If the `<dialog>` is not `open`, call `showModal()`, otherwise close the dialog |
| `<dialog>` | `'showModal'` | If the `<dialog>` is not `open`, call `showModal()` |
| `<dialog>` | `'close'` | If the `<dialog>` is `open`, close and use the button `value` for returnValue |
| `<details>` | `'auto'` | If the `<details>` is `open`, then close it, otherwise open it |
Expand Down

0 comments on commit d484bdb

Please sign in to comment.