Skip to content

Commit

Permalink
Fix - Native Select / Select - Additional Content redundancy / CSS (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
chris-cedrone-cengage authored and silvalaura committed Sep 18, 2024
1 parent b11c6f7 commit ffec3c9
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
5 changes: 5 additions & 0 deletions .changeset/fix-additionalContent.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'react-magma-dom': minor
---

fix(Select/NativeSelect): Fixed alignment issues in Select regarding additional content icon. Fixed duplicate additional content in Native Select.
Original file line number Diff line number Diff line change
Expand Up @@ -179,15 +179,16 @@ export const NativeSelect = React.forwardRef<HTMLDivElement, NativeSelectProps>(
disabled={disabled}
hasError={!!errorMessage}
isInverse={isInverse}
helperMessage={helperMessage}
messageStyle={messageStyle}
ref={ref}
theme={theme}
>
<StyledNativeSelectWrapper
disabled={disabled}
<StyledNativeSelect
data-testid={testId}
hasError={!!errorMessage}
disabled={disabled}
id={id}
isInverse={isInverse}
theme={theme}
{...other}
>
{children}
</StyledNativeSelect>
Expand Down

0 comments on commit ffec3c9

Please sign in to comment.