Skip to content

Commit

Permalink
[@mantine/core] ColorInput: Fix popoverProps={{ opned: true }} not …
Browse files Browse the repository at this point in the history
…working (#6968)
  • Loading branch information
rtivital committed Oct 16, 2024
1 parent 7567fec commit d0dd9fb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,11 @@ export default { title: 'ColorInput' };
export function Usage() {
return (
<div style={{ padding: 40 }}>
<ColorInput wrapperProps={{ 'data-test': 'hello' }} size="xl" />
<ColorInput
wrapperProps={{ 'data-test': 'hello' }}
size="xl"
popoverProps={{ opened: true }}
/>
</div>
);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -229,8 +229,8 @@ export const ColorInput = factory<ColorInputFactory>((_props, ref) => {
__staticSelector="ColorInput"
position="bottom-start"
offset={5}
{...popoverProps}
opened={dropdownOpened}
{...popoverProps}
classNames={resolvedClassNames}
styles={resolvedStyles}
unstyled={unstyled}
Expand Down

0 comments on commit d0dd9fb

Please sign in to comment.