Open keatkeat87 opened 4 years ago
Adding a selector as an option will definitely solve this case, but it'll be a little clunky as an API. A more long term solution might be to make the focus trap less aggressive in recapturing focus.
Just a heads up that we kicked off a community voting process for your feature request. There are 20 days until the voting process ends.
Find more details about Angular's feature request process in our documentation.
Thank you for submitting your feature request! Looks like during the polling process it didn't collect a sufficient number of votes to move to the next stage.
We want to keep Angular rich and ergonomic and at the same time be mindful about its scope and learning journey. If you think your request could live outside Angular's scope, we'd encourage you to collaborate with the community on publishing it as an open source package.
You can find more details about the feature request process in our documentation.
Feature Description
currently EventListenerFocusTrapInertStrategy only base on "div.cdk-overlay-pane" to detect the focus is inside overlay. but it is not enough when we using third party plugin or our own overlay.
Use Case
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.