Skip to content

Select in v4.1.0 is missing dynamic max-height #242

Open
@danielcaldas

Description

@danielcaldas

Describe the bug
The <Select> component no longer sets a dynamic max-height that adjusts with the available vertical space on the page.

To Reproduce
Steps to reproduce the behavior:

  1. Mount a <Select>
  2. Open the surface menu by clicking on the select element
  3. You can use the dev tools and resize to reduce the available vertical space on the page
  4. Notice that no matter the verticle space available the menu surface will always have the same height

Expected behavior
The menu surface should adapt height to available space.

Screenshots
image

Desktop (please complete the following information):

  • OS: MacOS Catallina
  • Chrome
  • Version smui 4.1.0

Smartphone (please complete the following information):
N/A

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions