From 64d69e43061aeeae649e484e09e07c329797467f Mon Sep 17 00:00:00 2001 From: adamviktora Date: Thu, 1 Jun 2023 11:42:41 +0200 Subject: [PATCH 1/3] fix(Pagination): remove spin buttons --- .../src/components/Pagination/Navigation.tsx | 27 ++++++++++--------- 1 file changed, 14 insertions(+), 13 deletions(-) diff --git a/packages/react-core/src/components/Pagination/Navigation.tsx b/packages/react-core/src/components/Pagination/Navigation.tsx index 487ccf0a681..e098691cf77 100644 --- a/packages/react-core/src/components/Pagination/Navigation.tsx +++ b/packages/react-core/src/components/Pagination/Navigation.tsx @@ -217,19 +217,20 @@ export class Navigation extends React.Component {!isCompact && (
- = 0) || page === 0 - } - min={lastPage <= 0 && firstPage <= 0 ? 0 : 1} - max={lastPage} - value={userInputPage} - onKeyDown={event => this.onKeyDown(event, page, lastPage, onPageInput)} - onChange={event => this.onChange(event, lastPage)} - /> +
+ = 0) || page === 0 + } + min={lastPage <= 0 && firstPage <= 0 ? 0 : 1} + max={lastPage} + value={userInputPage} + onKeyDown={event => this.onKeyDown(event, page, lastPage, onPageInput)} + onChange={event => this.onChange(event, lastPage)} + /> +
{(itemCount || itemCount === 0) && (
- + > + +
- + > + +
- + > + +
- + > + +
- + > + +
- + > + +
- + > + +