Skip to content

Dropdown: Not first on top and breaks when overflow-x #2142

@ThatBlokeJosh

Description

@ThatBlokeJosh

First on top

The dropdown isn't first on top, unless i missed a prop. I think there should be an option for it.

Image
Image

Overflow x

Simply setting overflow-x-auto to a container makes the dropdowns also scroll

Image
Image

My dropdown

<Dropdown
	invalid={error}
	name={input.name}
	selectedId={SelectedId(input.input)}
	invalidText="Něco není správně"
	on:select={(e) => {
		let detail = e.detail;
		if (input.input.selectText) {
			value = detail.selectedItem.text;
		} else {
			value = detail.selectedId;
		}
	}}
	titleText={input.input.label}
	label={input.input.placeholder}
	items={input.input.options}
/>

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions