Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Select layout broken in FluidForm #502

Open
brunnerh opened this issue Jan 31, 2021 · 5 comments
Open

Select layout broken in FluidForm #502

brunnerh opened this issue Jan 31, 2021 · 5 comments
Labels
flagship Question for @carbon-design-system/carbon

Comments

@brunnerh
Copy link
Contributor

brunnerh commented Jan 31, 2021

The label is in the same space as the select element:

image

Code:

<FluidForm on:submit={onSubmit}>
	<!-- ... -->
	<PasswordInput labelText="Password" />
	<Select labelText="Test">
		<SelectItem text="X"/>
		<SelectItem text="Y"/>
	</Select>
</FluidForm>

My current workaround is adding an rule analogous to those found on other inputs:

.bx--form--fluid .bx--select-input
{
	min-height: 4rem;
	padding: 2rem 1rem .8125rem;
}
@metonym
Copy link
Collaborator

metonym commented Jan 31, 2021

I don't think fluid dropdowns are supported. Open an issue in the flagship Carbon repo.

@brunnerh
Copy link
Contributor Author

@metonym I do not even know where the specification of that is supposed to be. It is not listed as a component (and nothing in the Form component mentions it).

image

@brunnerh
Copy link
Contributor Author

Seems to be broken in the React library as well...

image

@brunnerh
Copy link
Contributor Author

brunnerh commented Feb 4, 2021

@metonym I do not know what the process for implementing these things in the child projects like React and Svelte is, but the specs seem to exist already: carbon-design-system/carbon#5416

@metonym
Copy link
Collaborator

metonym commented Feb 4, 2021

@brunnerh Perfect, thanks for triaging

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
flagship Question for @carbon-design-system/carbon
Projects
None yet
Development

No branches or pull requests

2 participants