Skip to content

Some fixes for EuiSuperSelect and Firefox Scrollbars#1367

Merged
cchaos merged 3 commits into
elastic:masterfrom
cchaos:super-select-full-width
Dec 11, 2018
Merged

Some fixes for EuiSuperSelect and Firefox Scrollbars#1367
cchaos merged 3 commits into
elastic:masterfrom
cchaos:super-select-full-width

Conversation

@cchaos
Copy link
Copy Markdown
Contributor

@cchaos cchaos commented Dec 11, 2018

Added anchorClassName prop to EuiPopover

This was needed for the following:

Added support for fullWidth on EuiSuperSelect

Fixes #1352 cc @cjcenizal

screen shot 2018-12-11 at 16 49 22 pm

Applied new scrollbar customization for Firefox

Checklist

  • This was checked in mobile
  • This was checked in IE11
  • This was checked in dark mode
  • Any props added have proper autodocs
  • Documentation examples were added
  • A changelog entry exists and is marked appropriately
  • [ ] This was checked for breaking changes and labeled appropriately
  • Jest tests were updated or added to match the most common scenarios
  • [ ] This was checked against keyboard-only and screenreader scenarios
  • [ ] This required updates to Framer X components

Comment thread src/global_styling/reset/_scrollbar.scss
Comment thread src/components/form/super_select/super_select.js
width: 100%;

.euiPopover__anchor {
&:not(.euiSuperSelect--fullWidth) { /* 1 */
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I'm sure there is a reason for using a negative selector here.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Yeah, it's so I don't have to override twice with !important

Copy link
Copy Markdown
Contributor

@chandlerprall chandlerprall left a comment

Choose a reason for hiding this comment

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

changes LGTM!

@cchaos cchaos merged commit faf3811 into elastic:master Dec 11, 2018
@cchaos cchaos deleted the super-select-full-width branch December 11, 2018 22:30
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.

3 participants