Skip to content

MatSelect: fullwidth impl #670

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

Merged
merged 2 commits into from
Aug 18, 2020
Merged

MatSelect: fullwidth impl #670

merged 2 commits into from
Aug 18, 2020

Conversation

stefanloerwald
Copy link
Contributor

Fixes:

  • DemoMatSelect had wrong anchor

Additions:

  • DemoMatSelect shows FullWidth demo
  • remove hoistMenuToBody in matSelect.js, as this moved the menu outside the matselect div, which meant that for the menu to have full width, width: 100% referred to the body, not the matselect div.
  • added parameter FullWidth to MatSelect. When enabled, the component takes up 100% of the parent width.

This addresses #660

stefanloerwald and others added 2 commits August 3, 2020 09:12
…the hoistToMenu call in matSelect.js, as the full width of the menu must relate to the correct parent.
@lindespang
Copy link
Collaborator

Thanks for the contribution!

@lindespang lindespang merged commit 1d615ca into SamProf:develop Aug 18, 2020
@stefanloerwald stefanloerwald deleted the select-fullwidth-impl branch August 18, 2020 13:29
SamProf added a commit that referenced this pull request Sep 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants