Skip to content

CdkTrapFocus uses deprecated FocusTrapFactory #21703

Open
@pfeileon

Description

@pfeileon

Extending CdkTrapFocus causes the issue that its dependency FocusTrapFactory is deprecated (and should have actually been removed already: @breaking-change: for 11.0.0 Remove this class) and its proposed substitution ConfigurableFocusTrapFactory is superficially incompatible with CdkTrapFocus (it seems to work by simply suppressing the compiler with // @ts-ignore).

What is the preferred way to deal with this issue?

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/a11yneeds: discussionFurther discussion with the team is needed before proceeding

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions