Skip to content

Conversation

@cchaos
Copy link
Contributor

@cchaos cchaos commented Jun 13, 2022

This component based it's layout on the fact that EuiText created a second wrapping element for color. Since we removed that element the flex layout was not targeting the actual (multiple) children vs the single text color div. In order to put the elements back into the direction, I had to add flex-direction: column directly.

It's most noticeable when showing the loading state of EuiSelectble.

Before
Screen Shot 2022-06-13 at 13 36 17 PM

After
Screen Shot 2022-06-13 at 13 36 11 PM

Checklist

  • [ ] Checked in both light and dark modes
  • [ ] Checked in mobile
  • Checked in Chrome, Safari, Edge, and Firefox
  • [ ] Props have proper autodocs and playground toggles
  • [ ] Added documentation
  • [ ] Checked Code Sandbox works for any docs examples
  • [ ] Added or updated jest and cypress tests
  • [ ] Checked for breaking changes and labeled appropriately
  • [ ] Checked for accessibility including keyboard-only and screenreader modes
  • [ ] Updated the Figma library counterpart
  • A changelog entry exists and is marked appropriately

@cchaos cchaos requested a review from cee-chen June 13, 2022 18:04
@cchaos cchaos force-pushed the fix/selectable_message branch from 798f09f to 6be849a Compare June 13, 2022 18:06
@kibanamachine
Copy link

Preview documentation changes for this PR: https://eui.elastic.co/pr_5966/

Copy link
Contributor

@cee-chen cee-chen left a comment

Choose a reason for hiding this comment

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

Looks good to me, great catch!

@cchaos cchaos enabled auto-merge (squash) June 13, 2022 18:45
@cchaos cchaos merged commit 1d00c47 into elastic:main Jun 13, 2022
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