Skip to content

Bug - Toolbar - page scrolls when controls are clicked #10511

@dlabrecq

Description

@dlabrecq

Encountered an issue with the latest PatternFly milestone packages in Cost Management, which is blocking QE test automation.

When users click the pagination's page selector and/or the bulk select, the page scrolls so that the control's menu is out of view. These controls do not behave like this when located outside the Toolbar. For example, the bottom pagination controls work as expected.

To reproduce with PatternFly's table demo, simply add the div below to create some height above the toolbar.

Modified table demo
Screenshot 2024-06-03 at 1 05 27 PM

Sandbox
https://codesandbox.io/p/sandbox/toolbar-scroll-issue-forked-9sn9yf?file=%2Findex.html

Steps

  1. Click on the pagination page selector and choose "100 per page".
  2. Click on the pagination page selector or the bulk select. You may need to click the control more than once.
  3. The page will scroll so the control's menu is out of view.

Cost Management

pagination scrolling

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions