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

Closed
1998MaxChykalo opened this issue Apr 15, 2019 · 0 comments

Comments

Projects
None yet
2 participants
@1998MaxChykalo
Copy link

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
You can’t perform that action at this time.