-
Notifications
You must be signed in to change notification settings - Fork 843
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
Added support for fullWidth
on EuiComboBox
#1095
Conversation
This can easily be tested by changing the default value to true: https://github.com/elastic/eui/pull/1095/files#diff-1cc70a22af114baf29d4d6dab3201c29R53 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All good.
@@ -6,7 +6,7 @@ | |||
* 3. The height can expand, hence auto | |||
*/ | |||
.euiComboBoxOptionsList { | |||
@include euiFormControlSize(auto); /* 3 */ | |||
@include euiFormControlSize(auto, $includeAlternates: true); /* 3 */ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Somehow I missed this addition to the mixin. That's really cool 👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, it's been really helpful. Eventually I might want to do a check in the mixin to see if the value passed is a bool or string, where the string could match "fullWidth" or "compressed", or an array of stings. So we can be even more particular about which ones to include.
fab57a1
to
7ad772c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
change LGTM
Fixes #1062
Link to gif: https://d.pr/free/i/SEuUIY