Skip to content
This repository has been archived by the owner on Sep 5, 2024. It is now read-only.

mdSelect: values overlap and have no ellipses #7865

Closed
tenshiAMD opened this issue Apr 4, 2016 · 6 comments
Closed

mdSelect: values overlap and have no ellipses #7865

tenshiAMD opened this issue Apr 4, 2016 · 6 comments
Assignees
Labels
P4: minor Minor issues. May not be fixed without community contributions.
Milestone

Comments

@tenshiAMD
Copy link

md-select with multiple values cause overlaps and have no ellipses when selected items are too many for the md-input-container

The issue is the in the selection of items in the md-select does not have an ellipses and causes to overlap the next md-select on the left of the first md-select; md-select keeps growing and growing after adding another item.

The example of the issue can be viewed in this codepen:

@tenshiAMD
Copy link
Author

I'm using this css fix to patch this issue temporarily:

._md-select-value *:first-child {
  width: calc(100% - 24px);
}

@crisbeto
Copy link
Member

crisbeto commented Apr 4, 2016

Seems legit, you just have a SASS error in your codepen.

@tenshiAMD
Copy link
Author

Fixed the codepen sass error its just a extra ':' on the first div and does not affect the md-select css at all. I just recreated the scenario on my project where the md-select with multiple value causes this layout misrendered. Check the codepen again. http://codepen.io/tenshiAMD/pen/oxGKyP

@tenshiAMD tenshiAMD changed the title [v1.0.7 & v1.1.0rc1] md-select on causes overlaps and have no ellipses when selected items are too many for the md-input-container [v1.0.7 & v1.1.0rc1] md-select with multiple values cause overlaps and have no ellipses when selected items are too many for the md-input-container Apr 4, 2016
@crisbeto
Copy link
Member

crisbeto commented Apr 4, 2016

It should be a quick fix, I can take a look at it later today.

@tenshiAMD
Copy link
Author

Thanks man 👍

@ThomasBurleson ThomasBurleson added the P4: minor Minor issues. May not be fixed without community contributions. label Apr 4, 2016
@ThomasBurleson ThomasBurleson changed the title [v1.0.7 & v1.1.0rc1] md-select with multiple values cause overlaps and have no ellipses when selected items are too many for the md-input-container mdSelect: value overlap and have no ellipses Apr 4, 2016
@ThomasBurleson ThomasBurleson changed the title mdSelect: value overlap and have no ellipses mdSelect: values overlap and have no ellipses Apr 4, 2016
crisbeto added a commit that referenced this issue Apr 4, 2016
Prevents the select labels from overflowing their parent.

Closes #7865.
@ThomasBurleson ThomasBurleson modified the milestone: Backlog Apr 20, 2016
ThomasBurleson pushed a commit that referenced this issue May 17, 2016
Prevents the select labels from overflowing their parent.

Closes #7865.
@ThomasBurleson ThomasBurleson modified the milestones: - Backlog, Deprecated May 26, 2016
@ThomasBurleson
Copy link
Contributor

This issue is closed as part of our ‘Surge Focus on Material 2' efforts.
For details, see our forum posting @ http://bit.ly/1UhZyWs.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
P4: minor Minor issues. May not be fixed without community contributions.
Projects
None yet
Development

No branches or pull requests

3 participants