diff --git a/.changeset/famous-mice-approve.md b/.changeset/famous-mice-approve.md new file mode 100644 index 0000000000..0fbb5443fa --- /dev/null +++ b/.changeset/famous-mice-approve.md @@ -0,0 +1,5 @@ +--- +"@nextui-org/pagination": patch +--- + +Fixed pagination missing animation (#3138) diff --git a/packages/components/pagination/src/use-pagination.ts b/packages/components/pagination/src/use-pagination.ts index b59df5852a..1747077045 100644 --- a/packages/components/pagination/src/use-pagination.ts +++ b/packages/components/pagination/src/use-pagination.ts @@ -298,7 +298,8 @@ export function usePagination(originalProps: UsePaginationProps) { () => pagination({ ...variantProps, - disableCursorAnimation: disableCursorAnimation || disableAnimation, + disableAnimation, + disableCursorAnimation, }), [objectToDeps(variantProps), disableCursorAnimation, disableAnimation], );