Skip to content

Bug - Pagination - page select toggle wraps #10506

@dlabrecq

Description

@dlabrecq

Discovered a couple issues with the latest PatternFly milestone packages in Cost Management.

  1. When including an aria label for pagination, an "items" label is output by default.
  2. The page select toggle is wrapping to the next line.

I noticed that the toggle button uses display=block, while the pagination example on patternfly.org uses display=inline-flex.

Screenshot 2024-06-03 at 11 13 14 AM

Wrapped pagination controls

Screenshot 2024-06-03 at 10 31 46 AM

Example

<Pagination
      itemCount={333}
      widgetId="bottom-example"
      perPage={perPage}
      page={page}
      variant={PaginationVariant.bottom}
      onSetPage={onSetPage}
      onPerPageSelect={onPerPageSelect}
      titles={
          {
            paginationAriaLabel: 'test' <<<
          }
        }
    />

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