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

[DropDownMenu] Fix support for autoWidth and custom width #3823

Merged
merged 2 commits into from
Mar 29, 2016
Merged

[DropDownMenu] Fix support for autoWidth and custom width #3823

merged 2 commits into from
Mar 29, 2016

Conversation

oliviertassinari
Copy link
Member

Fix #3808.
The first commit is cleaning up the components and adding some failing examples (many changes).
The second commit is the actual fix (few changes).

@oliviertassinari oliviertassinari changed the title Select field fix width [DropDownMenu] Fix support for autoWidth and custom width Mar 27, 2016
@mbrookes mbrookes added bug 🐛 Something doesn't work Refactoring labels Mar 28, 2016
@@ -2,24 +2,45 @@ import React from 'react';
import DropDownMenu from 'material-ui/DropDownMenu';
import MenuItem from 'material-ui/MenuItem';

const styles = {
customWidth: {
width: 400,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could we us a smaller value? Looks a bit unnatural.

@mbrookes
Copy link
Member

One small suggestion, otherwise looks good here. 👍

@mbrookes mbrookes added PR: needs revision The pull request can't be merged. More details is available on the code review or fails in the CI PR: out-of-date The pull request has merge conflicts and can't be merged and removed PR: Needs Review labels Mar 29, 2016
@oliviertassinari oliviertassinari added PR: Needs Review and removed PR: out-of-date The pull request has merge conflicts and can't be merged PR: needs revision The pull request can't be merged. More details is available on the code review or fails in the CI labels Mar 29, 2016
@mbrookes mbrookes merged commit 7177973 into mui:master Mar 29, 2016
@oliviertassinari oliviertassinari deleted the select-field-fix-width branch March 29, 2016 20:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 Something doesn't work
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants