Describe the bug
Passing className to Select reaches an inner wrapper rather than the outer labeled field, so consumers can't size the whole control through the documented prop.
Steps to reproduce
- Render
<Select className="w-64" label="..." items={[...]} />
- Inspect the DOM — the class lands on an inner element, not the outermost field wrapper.
- The overall control doesn't resize as expected.
Expected behavior
className sizes/styles the full labeled field.
Specifications
- Version:
@equinor/eds-core-react@3.0.0-beta.1
Additional context
Workaround: size an external wrapper element around Select instead of relying on className for outer sizing.
Describe the bug
Passing
classNametoSelectreaches an inner wrapper rather than the outer labeled field, so consumers can't size the whole control through the documented prop.Steps to reproduce
<Select className="w-64" label="..." items={[...]} />Expected behavior
classNamesizes/styles the full labeled field.Specifications
@equinor/eds-core-react@3.0.0-beta.1Additional context
Workaround: size an external wrapper element around
Selectinstead of relying onclassNamefor outer sizing.