You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 6, 2025. It is now read-only.
fix(fxLayoutGap): correctly handle lack of fallback value (#1037)
In most directives, style generation and removal happens in
a contained cycle: styles are generated, cached, and then
removed when no longer needed. This is facilitated by caching
the results of the `StyleBuilder`s for each directive in a
local object on the directive, and then removing those styles
when called.
In the case of `fxLayoutGap`, most of the style generation is
applied to the children, and so in most cases just removing the
parent styles is insufficient, and in other cases, just
ineffective (because no parent styles are actually generated).
To fix this, we override the default style clearing method,
and replace it with one that actually removes the child styles
(and the parent styles if any are present).
Fixes#1011
0 commit comments