fix: dialog now uses global backdrop to eliminate that the overlay-panels remain interactive#334
Open
laszloilonka wants to merge 1 commit into
Open
fix: dialog now uses global backdrop to eliminate that the overlay-panels remain interactive#334laszloilonka wants to merge 1 commit into
laszloilonka wants to merge 1 commit into
Conversation
…nels remain interactive IDS-2234
pvidoczi
approved these changes
Jul 6, 2026
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
IDS-2234
Breaking Changes
1. The native
<dialog>element is no longer usedThe
ids-dialogcomponent no longer relies on the native HTML<dialog>element and has been migrated to Angular CDK Dialog.Previous usage:
New usage:
The
ids-dialogcomponent is now rendered inside an Angular CDK overlay instead of using the browser's native dialog implementation.2. Native dialog APIs are no longer available
The following native
HTMLDialogElementAPIs are no longer supported:show()showModal()close()behaviorcanceleventcloseevent::backdropCSS pseudo-elementDialog opening and closing are now managed by Angular CDK Dialog.
3. Static dialogs are now internally implemented using Angular CDK Dialog
Static dialogs continue to support the same public API:
However, the implementation has changed internally. Calling
open()now creates an Angular CDK Dialog instance instead of invoking the nativeshowModal()API.This change improves compatibility with other Angular CDK overlay-based components such as selects, menus, autocomplete panels, and custom overlays.