Skip to content
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

Drawer with anchor="right" and type="permanent" not working #8478

Closed
1 task done
PolGuixe opened this issue Sep 30, 2017 · 7 comments
Closed
1 task done

Drawer with anchor="right" and type="permanent" not working #8478

PolGuixe opened this issue Sep 30, 2017 · 7 comments
Labels
status: waiting for author Issue with insufficient information

Comments

@PolGuixe
Copy link
Contributor

PolGuixe commented Sep 30, 2017

  • I have searched the issues of this repository and believe that this is not a duplicate.

Expected Behavior

The drawer should stick to the right side of the screen when set with anchor="right" and type="permanent".

Current Behavior

The drawer sticks to the left.
screen shot 2017-09-30 at 12 50 39

Steps to Reproduce (for bugs)

<Drawer anchor="right" type="permanent"><div>Hello, world!</div></Drawer>

Your Environment

Tech Version
Material-UI beta12
React 15.6.2
browser Chrome
etc MacOS
@PolGuixe PolGuixe changed the title Drawer with anchor="right" and type="perma Drawer with anchor="right" and type="permanent" not working Sep 30, 2017
@oliviertassinari
Copy link
Member

It's related to #8339. But closing as the template is empty.

@oliviertassinari oliviertassinari added the status: waiting for author Issue with insufficient information label Sep 30, 2017
@PolGuixe
Copy link
Contributor Author

@oliviertassinari sorry. I just hit enter too quickly. Can you open it again?

Can you reproduce the error?

@oliviertassinari
Copy link
Member

oliviertassinari commented Sep 30, 2017

Oh, it's a children order issue. You need to have the body before the anchor="right" drawer.

@PolGuixe
Copy link
Contributor Author

PolGuixe commented Oct 1, 2017 via email

@oliviertassinari
Copy link
Member

@PolGuixe I guess it's. I can't see a better solution.

@PolGuixe
Copy link
Contributor Author

PolGuixe commented Oct 2, 2017

@oliviertassinari the position of the body or content doesn't affect the drawer position.

Could you have a look a the line I commented on the PR? #8361

I believe there is an issue.

@oliviertassinari
Copy link
Member

@PolGuixe Do you have a reproduction example?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: waiting for author Issue with insufficient information
Projects
None yet
Development

No branches or pull requests

2 participants