Skip to content

[mat-sidenav] opened="true" - appears closed in Universal rendered view #7795

Closed

Description

@NgxDev

Bug, feature request, or proposal:

[x] - bug

What is the expected behavior?

Given opened="true" on mat-sidenav, the sidenav should appear opened in the server-rendered html.

What is the current behavior?

Right now, it doesn't get transform: translate3d(0px, 0px, 0px) applied when rendering server-side (I have included NoopAnimationsModule in my app.server.module.ts. The sidenav appears closed in the server-rendered view and only opens after the client kicks-in.

Which versions of Angular, Material, OS, TypeScript, browsers are affected?

Angular: 5.0.0-rc.2
Material: 2.0.0-beta.12

Activity

  1. CaerusKaru commented on Oct 15, 2017

    @CaerusKaru
    Member

    Duplicate of #6865. @MrCroft The issue you've documented with the missing transform is compounded with the missing margins applied to the mat-sidenav-content. If we just patch the transform, the mat-sidenav will just overlap the content. But great catch on noticing this was missing. I've added it to #6865 for tracking.

    cc @mmalerba

  2. angular-automatic-lock-bot commented on Sep 7, 2019

    @angular-automatic-lock-bot

    This issue has been automatically locked due to inactivity.
    Please file a new issue if you are encountering a similar or related problem.

    Read more about our automatic conversation locking policy.

    This action has been performed automatically by a bot.

  3. locked and limited conversation to collaborators on Sep 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions