Skip to content

fix: Height in FluentSelect #2676

@JamesNK

Description

@JamesNK

🐛 Bug Report

I have a FluentSelect that could display many or just a few results. I want to limit the maximum popup height.

I expected Height (or some other value) to be able to set a max height on a select's popup. Height limits the height but looks bad if there aren't enough items.

For example:

image

💻 Repro or Code Sample

Remove options from the Long list example at https://www.fluentui-blazor.net/Select

🤔 Expected Behavior

There should be an easy way to set a max height.

😯 Current Behavior

There is only the Height option. Maybe it should be changed to max-height only?

💁 Possible Solution

🔦 Context

🌍 Your Environment

  • OS & Device: [e.g. MacOS, iOS, Windows, Linux] on [iPhone 7, PC]
  • Browser [e.g. Microsoft Edge, Google Chrome, Apple Safari, Mozilla FireFox]
  • .NET and Fluent UI Blazor library Version [e.g. 8.0.2 and 4.4.1]

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions