-
Notifications
You must be signed in to change notification settings - Fork 834
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
[EuiSuperSelect] With prepend
and append
needs it's border-radius fixed in Amsterdam
#5442
Comments
Hi @cchaos . I fixed this one by adding fixed border-radius values depending whether it's prepend, append or both and attaches that style to
I'm not sure whether there's a need for React component code change or will just to deal with it in its Thanks. |
Hi @jeepers3327. Thanks for attempting to fix this one. We definitely only want to fix this in the Sass files not the component code itself as it needs to align with our Sass tokens for border-radius and is currently where all those styles live. Eventually, we'll be converting to CSS-in-JS, but for now we don't want to separate where styles are written. For EuiSuperSelect specifically, it has it's own set of styles for applying border-radius and so it isn't actually tied to the EuiFormControlLayout: And it's further tricky because this is only an issue in the Amsterdam (now default) theme. There is a specific |
May I know which file in |
There isn't one yet for the super select component. You can follow the pattern of this file: https://github.com/elastic/eui/blob/main/src/themes/amsterdam/overrides/_mark.scss and create a new one called |
- Fixed EuiSuperSelect border radius with append/prepend elastic#5442 - Fixed EuiSuperSelect not respecting `readOnly` elastic#3510
* [EuiFormControlLayout] Added `isInvalid` prop which is passed through to `EuiFormControlLayoutIcon` which renders the `alert` icon in red * Passed the `isInvalid` through for some form controls - EuiFieldNumber, EuiFieldPassword, EuiFieldText, EuiSelect, EuiSuperSelect - EuiFieldSearch attempts to create a new class for the number of icons * Added a `getFormControlClassNameForIconCount` localized service for couting icons * Change className output from rendering component-specific to generic to reduce output syles * [EuiFormControlLayout] Added `isDropdown` to create and control the arrow down icon * [EuiColorPicker] Fix usage of EuiFormControlLayout to not double * [EuiSelect] & [EuiSuperSelect] Update to new EuiFormControlLayout props - Fixed EuiSuperSelect border radius with append/prepend #5442 - Fixed EuiSuperSelect not respecting `readOnly` #3510 * [EuiValidatableControl] Add `aria-invalid`
The text was updated successfully, but these errors were encountered: