Skip to content

Bug - v5 alpha testing - Menus & poppers not behaving as expected #9166

@nicolethoen

Description

@nicolethoen

HCS is reporting an issue due to the pf popper we're using for type-ahead support
Screenshot 2023-05-19 at 5 49 18 PM

It doesn't like when the Menu is omitted for some reason? Although, the div is always there.
It's happy if I remove the {search && search.length` line below and always output the Menu.
This is done because we don't want to show an empty options menu until the user begins typing.
Without this, the empty menu is shown as soon as the user clicks into the input field.
If I output <></> in place of the menu, the popper also won't error, but shouldn't have to do that?
Screenshot 2023-05-19 at 5 49 07 PM

Also discovered that all our Select components remain open, until you choose an option
Previously, you could click anywhere to dismiss the select

Screenshot 2023-05-19 at 6 01 06 PM

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions