Skip to content

SideNav [opened] property bound not working correctly when bound to an observable #6985

Closed

Description

@stocksr

Bug, feature request, or proposal:

Bug: When you bind the opened property of a sidenav to an Observable and that Observable changes again while the animation is running the sidebar ignores the change.

What is the expected behavior?

The sidebar should always end up in a state that matches the observable.

What is the current behavior?

The side bar ignores changes while it is processing the previous one.

What are the steps to reproduce?

In this plunker: http://plnkr.co/edit/DSBJmIPJzjhoeg2rGx2z?p=preview
If you press the bounce button the sidebar should end up in the open state.
alternatively if you press the open and close buttons in rapid succession you can also end up with the wrong state.

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

Material beta 10 (This worked in beta 8)

Activity

  1. willshowell commented on Sep 11, 2017

    @willshowell
    Contributor

    See #6376

  2. Nodarii commented on Sep 11, 2017

    @Nodarii

    @stocksr ,

    I face such behavior, but it is not connected to the observable. Component can not be closed until it is fully shown (I mean animation is done)

  3. stocksr commented on Sep 11, 2017

    @stocksr
    Author

    thanks - I even looked for this issue before reporting - but I was looking for it under SideNav not drawer.
    PR #6810 looks like it will fix it, any idea when that will land?

  4. willshowell commented on Sep 11, 2017

    @willshowell
    Contributor

    @stocksr since it's marked as ready, probably this week. The team typically merges about twice a week, but there are often presubmit failures or merge conflicts that postpone it to the next round.

  5. 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.

  6. 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