diff --git a/CHANGELOG.md b/CHANGELOG.md index 29f14542d5b..6239fa12865 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,7 @@ - Fixed bug in all input fields placeholders in Safari that weren't vertically centered ([#3809](https://github.com/elastic/eui/pull/3809)) - Removed `pointer-events: none` in both `EuiButton` & `EuiButtonEmpty` to not override the `pointer-events: auto` in the button mixin `euiButtonContentDisabled` ([#3824](https://github.com/elastic/eui/pull/3824)) +- Fixed bug in `EuiPagination` showing wrong page count when `compressed` prop is true. ([#3827](https://github.com/elastic/eui/pull/3827)) ## [`27.3.0`](https://github.com/elastic/eui/tree/v27.3.0) diff --git a/src/components/pagination/pagination.tsx b/src/components/pagination/pagination.tsx index 8d7074f0c86..984efa27932 100644 --- a/src/components/pagination/pagination.tsx +++ b/src/components/pagination/pagination.tsx @@ -255,7 +255,7 @@ export const EuiPagination: FunctionComponent = ({ ); const lastPageButtonCompressed = ( - + ); return (