Feature request: Add support for notification of changes to [dir]
on <html>
and <body>
#5761
Labels
area: cdk/bidi
feature
This issue represents a new feature or feature request rather than a bug or bug fix
P5
The team acknowledges the request but does not plan to address it, it remains open for discussion
As specified in guides/bidirectionality.md regarding
change
property ofDirectionality
:I'm not sure that this is a correct assumption to make, since overlayed items(
div.cdk-overlay-container
) are generated outside the Angular application context, so currently we don't have a single point to change the layout of the application. And since overlayed items, like dialogs, do represent integral parts of an application, I believe that it should be possible to notify these components of changes todir
on<html>
and<body>
using the sameDirectionality
feature, since these nodes are the only common ancestors of bothdiv.cdk-overlay-container
and Angular application context.Since @jelbourn in his comment said that this is something that could potentially change in a subsequent iteration, I decided to open this feature request for a discussion.
The text was updated successfully, but these errors were encountered: