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

feat(layout:sider): support for custom trigger with nzCollapsedWidth set to 0 #1951

Closed
wants to merge 3 commits into from
Closed

feat(layout:sider): support for custom trigger with nzCollapsedWidth set to 0 #1951

wants to merge 3 commits into from

Conversation

Supamiu
Copy link

@Supamiu Supamiu commented Aug 9, 2018

closes #1950

PR Checklist

Please check if your PR fulfills the following requirements:

PR Type

What kind of change does this PR introduce?

[ ] Bugfix
[x] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Documentation content changes
[ ] Application (the showcase website) / infrastructure changes
[ ] Other... Please describe:

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?

[ ] Yes
[x] No

Other information

Copy link
Member

@vthinkxie vthinkxie left a 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.

@Supamiu
Copy link
Author

Supamiu commented Sep 17, 2018

@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.

@vthinkxie
Copy link
Member

vthinkxie commented Feb 19, 2019

Hi @Supamiu would you plz rebase this pr onto master, and the test ci goes wrong, plz check it, thanks.

@Supamiu
Copy link
Author

Supamiu commented Feb 19, 2019

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.

vthinkxie added a commit that referenced this pull request Feb 20, 2019
* feat(module:layout): support zeroTrigger
close #1950 close #1951

* fix(module:layout): fix runoutside
@vthinkxie
Copy link
Member

don't worry about this, I just take it over, thanks for your pr!

Ricbet pushed a commit to Ricbet/ng-zorro-antd that referenced this pull request Apr 9, 2020
* feat(module:layout): support zeroTrigger
close NG-ZORRO#1950 close NG-ZORRO#1951

* fix(module:layout): fix runoutside
hsuanxyz pushed a commit to hsuanxyz/ng-zorro-antd that referenced this pull request Aug 5, 2020
* feat(module:layout): support zeroTrigger
close NG-ZORRO#1950 close NG-ZORRO#1951

* fix(module:layout): fix runoutside
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

support custom trigger for 0 width collapsed sider
2 participants