-
Notifications
You must be signed in to change notification settings - Fork 4k
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
Timeline with nzPending and nzReverse borken if initiated with nzReverse=true #4509
Comments
Hello @whittssg. We totally like your proposal/feedback, welcome to send us a Pull Request for it. Please fill the Pull Request Template here, provide documentation/test cases if needed and make sure CI passed, we will review it soon. Appreciate it advance and we are looking forward to your contribution! 你好 @whittssg, 我们完全同意你的提议/反馈,欢迎直接在此仓库 创建一个 Pull Request 来解决这个问题。请务必填写 Pull Request 内的预设模板,提供改动所需相应的测试用例、文档等,并确保 CI 通过,我们会尽快进行 Review,提前感谢和期待您的贡献! |
* fix(module:timeline): fix reverse bug * fix: fix test * chore: cleanup code * fix: some consts * test: refactor test close #4509
* fix(module:timeline): fix reverse bug * fix: fix test * chore: cleanup code * fix: some consts * test: refactor test close NG-ZORRO#4509
* fix(module:timeline): fix reverse bug * fix: fix test * chore: cleanup code * fix: some consts * test: refactor test close NG-ZORRO#4509
Reproduction link
https://stackblitz.com/edit/angular-svfa4s?file=src/app/app.component.ts
Steps to reproduce
If you set reverse = false in the component (like in the docs) then the nzPending shows correctly, flipping it with the button so that reverse = true after its loaded also shows it correctly. Setting reverse = true at the beginning causes strange behavior.
What is expected?
to be able to set nzReverse to true from the start
What is actually happening?
Setting nzReverse to true from the start causes the component to look strange (nzPending is still at the bottom but all messed up).
The text was updated successfully, but these errors were encountered: