angular-cn/goldens/size-tracking
George Kalpakas 0c105c38da fix(docs-infra): make `NotificationComponent` elements non-focusable when hidden (#42584)
Previously, the `NotificationComponent` would be hidden by reducing its
height to `0`. This allowed for a smoother hide animation when closing
the notification, but left the component's interactive elements
focusable via keyboard navigation. This was confusing for users, because
the focused elements would not be visible on the page.

This commit fixes the issue be also setting the `display` CSS property
to `none` when the `NotificationComponent` is hidden, thus ensuring that
its contents are not focusable via keyboard navigation.
(This does not affect the hide animation, since the `display` style is
not animatable and is only applied at the end of the animation.)

PR Close #42584
2021-06-18 17:32:26 +00:00
..
aio-payloads.json fix(docs-infra): make `NotificationComponent` elements non-focusable when hidden (#42584) 2021-06-18 17:32:26 +00:00
integration-payloads.json refactor(router): compute correct history restoration when navigation is cancelled (#38884) 2021-06-10 14:09:21 -07:00