-
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
feat(layout:sider): support for custom trigger with nzCollapsedWidth set to 0 #1951
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for your pr!
Please add some test code before we start reviewing this pr, thanks.
@vthinkxie I tried to add some tests but couldn't make them work properly as I'm not very familiar with your testing environment. I pushed the current state of my tests, hoping you can fix them. |
Hi @Supamiu would you plz rebase this pr onto master, and the test ci goes wrong, plz check it, thanks. |
Hi, I'm really sorry I didn't get time to finish the tests, couldn't make them work with the custom sider icon. Do you have a guide or something about your unit tests so I could check how to implement them properly? Or if you have a bit of time, I could use a small review on them just in case you see what I did wrong. |
don't worry about this, I just take it over, thanks for your pr! |
* feat(module:layout): support zeroTrigger close NG-ZORRO#1950 close NG-ZORRO#1951 * fix(module:layout): fix runoutside
* feat(module:layout): support zeroTrigger close NG-ZORRO#1950 close NG-ZORRO#1951 * fix(module:layout): fix runoutside
closes #1950
PR Checklist
Please check if your PR fulfills the following requirements:
PR Type
What kind of change does this PR introduce?
What is the current behavior?
Issue Number: #1950
What is the new behavior?
You can now set a custom trigger tof rth trigger shown when you have a nzCollapsedWidth set to 0 on
Does this PR introduce a breaking change?
Other information