Skip to content

feat(Cdk-FocusTrap): ability to add more overlay detect on EventListenerFocusTrapInertStrategy #19563

Open
@keatkeat87

Description

@keatkeat87

Feature Description

currently EventListenerFocusTrapInertStrategy only base on "div.cdk-overlay-pane" to detect the focus is inside overlay.
image
but it is not enough when we using third party plugin or our own overlay.

Use Case

1
for example using @tinymce/tinymce-angular
it not depend on angular/cdk, so there is no overlay. but it have own implement overlay feature.

for workaround we can totally override a strategy for the case. but maybe angular team can consider add a easy way for that.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentarea: cdk/a11yfeatureThis issue represents a new feature or feature request rather than a bug or bug fix

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions