Skip to content

Bug - SearchInput - breaking change in advanced filter's panel-based popover; positioning is no longer absolute #7592

@garrett

Description

@garrett

When attempting to upgrade to the latest release of PatternFly, we spotted an issue due to failing tests. It appears to be related to this PR, as it changes the previous widgets used from HTML to the PF Panel component. Previously, it used the pf-c-search-input__menu class, but now it uses these classes: pf-c-panel pf-m-raised pf-c-search-input__menu.

However, pf-c-panel makes the popover position: relative now, instead of position: absolute and the width of the popover is now auto instead of being 100% wide.

As a result of the changes, the panel popover for the advanced filter still reserves the space in the toolbar, causing a layout shift when it appears, which looks like this:

relative whoops

(You can see the panel below the toolbar still... but as it's relative positioning instead of absolute, it now affects the flow of the content in the toolbar.)

Originally posted by @garrett in #7414 (comment)

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