hc-oss / react-multi-select-component

Lightweight (~5KB gzipped) multiple selection dropdown component

Home Page:https://codesandbox.io/s/react-multi-select-example-uqtgs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Option Alignment in the Menu is all Wonky

zanewolf opened this issue · comments

Describe the bug
I've implemented the multiselect component into my map and added the options. However, regardless of whether the component is on the left or right side of the page, the options are poorly formatted and I'm not sure what is causing this or how to fix it.

image

image

Any thoughts?

@zanewolf this looks like some global styling conflict issue, if you can reproduce sandbox I can probably help you reset styles

it's always good practice to not target global html components such as label, or label > xyz etc. instead provide unique classname or prefer prefixes like .projectxyz--label 😄