-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Dispatch beforetoggle & toggle events during dialog open/close/showModal #10091
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
annevk
merged 18 commits into
whatwg:main
from
keithamus:dispatch-toggleevents-for-dialog-open-close
Nov 5, 2024
Merged
Changes from all commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
2d7e978
dispatch toggleevents for dialog open/close
keithamus 1a07647
add dialog toggle task tracker
keithamus ebe5785
use dialog toggle event tasks for toggle events
keithamus 59b315c
queue a dialog toggle event task on close
keithamus 1541f48
fix queued toggle event on close
keithamus b512f75
s/on the//
keithamus 292371e
remove comma
keithamus 6be2ea9
s/toggle/beforetoggle/
keithamus b1251f0
return early if dialog closed after beforetoggle fired
keithamus f47f220
return early if dialog opened after beforetoggle fired
keithamus 18cd173
return early if dialog opened after beforetoggle fired
keithamus 053065b
reorder queued toggle events just after beforetoggle, for clarity
keithamus 1194962
guard showModal against remove/showPopover during beforetoggle
keithamus 17769f6
remove newline
keithamus e9003fe
fixup line wrapping
keithamus b666d93
more line-wrapping fixups
keithamus 471dbdd
more line-wrapping fixups
keithamus 0b273ef
fixup line wrapping on p tag
keithamus File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.