Skip to content

(Angular) Empty Drawer "Actions" footer appears on second open #3482

@willcodeforcoffee

Description

@willcodeforcoffee

Reporter: Grant Nichol via design-system-support channel

Web components version

1.40.0

React or Angular components version

4.10.0

Expected Behaviour

When the Drawer Actions are empty the "Actions" footer should never appear.

Actual Behaviour

On the first time opening the Drawer the Actions footer is empty and does not appear. However on the second and further times opening the Drawer the Actions footer is visible (though empty).

This is not an issue for the React version of the components.

drawer_footer_replicate.mp4

I replicated this issue using the sample PR for bugs/2873.

Replication Steps

  1. Create a test page.
  2. Add a Drawer with content.
  3. Do not add actions.

Opening the drawer: the Drawer footer will not appear.
Close the drawer,
Open the drawer: the Action footer will appear.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions