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

Pagination emit unnecessary nzPageIndexChange event #280

Closed
xcorpio opened this issue Sep 12, 2017 · 1 comment
Closed

Pagination emit unnecessary nzPageIndexChange event #280

xcorpio opened this issue Sep 12, 2017 · 1 comment
Labels

Comments

@xcorpio
Copy link

xcorpio commented Sep 12, 2017

I'm submitting a bug


[x] Bug report  
[ ] Feature request
[ ] Documentation issue or request
[ ] Regression (a behavior that used to work and stopped working in a new release)
[ ] Support request => Please do not submit support request here

Current behavior

2017-09-12 7 35 45

when the `[(nzPageIndex)]` is `1`, click the previous button `<` will still emit a `nzPageIndexChange` event.

Expected behavior

i think it may be not necessary in this case. i use that event to make a request

Minimal reproduction of the problem with instructions

What is the motivation / use case for changing the behavior?

Environment


Angular version: 4.3.0

ng-zorro-antd version: ^0.5.0-rc.4

Browser:
- [* ] Chrome (desktop) version 60.0.3112.113
- [ ] Firefox version XX
- [ ] Safari (desktop) version XX
- [ ] IE version XX
 
For Tooling issues:
- Node version: v8.4.0  
- Platform:  Mac 

Others:

@lock
Copy link

lock bot commented Feb 19, 2019

This thread has been automatically locked because it has not had recent activity. Please open a new issue for related bugs and link to relevant comments in this thread.

@lock lock bot locked as resolved and limited conversation to collaborators Feb 19, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants