Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Default value in size changer for Pagination in List doesn't correspond to defaultPageSize property #16100

1 task done
1998MaxChykalo opened this issue Apr 15, 2019 · 0 comments


Copy link

@1998MaxChykalo 1998MaxChykalo commented Apr 15, 2019

  • I have searched the issues of this repository and believe that this is not a duplicate.

Reproduction link

Edit on CodeSandbox

Steps to reproduce

Set showSizeChanger to true;
Set pageSizeOptions to array like this: ['8', '12', '16', '20'];
Set defaultPageSize to number 8;

What is expected?

defaultPageSize to be the default value in size changer

What is actually happening?

10 is displayed in size changer as the default value

Environment Info
antd 3.16.3
React 16.8.6
System Ubuntu 18.04.2 LTS
Browser Chrome, Version 72.0.3626.119 (Official Build) (64-bit)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

2 participants