Skip to content

md-sidenav displaces content when align="end" #4908

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
benjamin-wilson opened this issue Jun 1, 2017 · 5 comments
Closed

md-sidenav displaces content when align="end" #4908

benjamin-wilson opened this issue Jun 1, 2017 · 5 comments
Assignees
Labels
cannot reproduce The team is unable to reproduce this issue with the information provided

Comments

@benjamin-wilson
Copy link

Bug, feature request, or proposal:

Bug

What is the expected behavior?

Sidenav should open and close without displacing content

What is the current behavior?

If you set the alignment of the sidenav to align="end" and then aggressively open the sidenav, click inside the nav then click outside the nav to close it, it will sometimes displace its content.

What are the steps to reproduce?

https://plnkr.co/edit/p5rn1klp18ujLHGL0g62?p=preview

Very quickly click 'Open sidenav' then click inside the nav that just opened, then click outside the nav to close it. You may have to do this several times/spam it. You will see the 'Open sidenav' button shift to the left when the problem occurs.

What is the use-case or motivation for changing an existing behavior?

We have navs on the right side for our website and when this bug occurs, it offsets all of the website content to the left making it mostly unusable.

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

Seen in beta 6, Chrome, Firefox and IE 11. Seems to affect IE 11 the worst.

Is there anything else we should know?

@mmalerba mmalerba added the cannot reproduce The team is unable to reproduce this issue with the information provided label Jul 17, 2017
@mmalerba
Copy link
Contributor

I am not able to reproduce this, even turning the animation speed down to 10% using the chrome inspector.

@mmalerba
Copy link
Contributor

Closing since I am unable to reproduce

@willshowell
Copy link
Contributor

@benjamin-wilson I remember being able to repro this when I first saw this issue (like 1/20 times with no apparent consistency). I wonder if it could be related to #5743 or #4932 which could be a bug in @angular/animations

@benjamin-wilson
Copy link
Author

Doesn't look like I can reproduce this anymore.

@angular-automatic-lock-bot
Copy link

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.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 6, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
cannot reproduce The team is unable to reproduce this issue with the information provided
Projects
None yet
Development

No branches or pull requests

3 participants