Byteclaw / visage

Visage design system
https://visage.design
MIT License
12 stars 3 forks source link

[Select/AutocompleteInput] - styles are not passed correctly from menuProps #625

Closed michalkvasnicak closed 4 years ago

michalkvasnicak commented 4 years ago

When using createSelectMenu with

{
  defaultProps: {
    menuProps: {
     styles: {}
    }
  }
}

it seems that styles are not overridden correctly. Maybe we need to merge them?

Also check this for AutocompleteInput

michalkvasnicak commented 4 years ago

Ok styles are not used on Menu because Menu just wraps Popover, so we need to use popoverProps.styles for this.