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

Expose SubMenu's Placement #921

Merged
merged 3 commits into from
Dec 25, 2020
Merged

Expose SubMenu's Placement #921

merged 3 commits into from
Dec 25, 2020

Conversation

Bintel
Copy link
Contributor

@Bintel Bintel commented Dec 23, 2020

[中文版模板 / Chinese template]

🤔 This is a ...

  • New feature
  • Bug fix
  • Site / documentation update
  • Demo update
  • Component style update
  • Bundle size optimization
  • Performance optimization
  • Refactoring
  • Code style optimization
  • Test Case
  • Branch merge
  • Other (about what?)

🔗 Related issue link

#916 #922

💡 Background and solution

📝 Changelog

Language Changelog
🇺🇸 English The Placement of SubMenu can now be changed and it will be set to BottomLeft or RightTop as before if you don't set it.
🇨🇳 Chinese 现在可以设置 SubMenu 的 Placement 参数,如果不设置它的话,Placement 会和以前一样被设置为 BottomLeft 或者 RightTop。

☑️ Self Check before Merge

⚠️ Please check all items below before review. ⚠️

  • Doc is updated/provided or not needed
  • Demo is updated/provided or not needed
  • Changelog is provided or not needed

The Placement of SubMenu can now be changed and it will be set to BottomLeft or RightTop as before if you don't set it.
@codecov-io
Copy link

Codecov Report

Merging #921 (32273a8) into master (8763fda) will decrease coverage by 0.00%.
The diff coverage is 0.00%.

Impacted file tree graph

@@            Coverage Diff            @@
##           master    #921      +/-   ##
=========================================
- Coverage    5.53%   5.53%   -0.01%     
=========================================
  Files         401     401              
  Lines       21337   21341       +4     
=========================================
  Hits         1182    1182              
- Misses      20155   20159       +4     
Impacted Files Coverage Δ
components/menu/SubMenu.razor 0.00% <0.00%> (ø)
components/menu/SubMenu.razor.cs 0.00% <0.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 8763fda...32273a8. Read the comment docs.

I'm not sure if it will bring new problems, but it solved my problem. I hope someone can help me review it to make sure it doesn't break other things.
@ElderJames ElderJames merged commit e4995bc into ant-design-blazor:master Dec 25, 2020
ElderJames pushed a commit that referenced this pull request Apr 23, 2022
* Expose SubMenu's Placement

The Placement of SubMenu can now be changed and it will be set to BottomLeft or RightTop as before if you don't set it.

* Try fix #922

I'm not sure if it will bring new problems, but it solved my problem. I hope someone can help me review it to make sure it doesn't break other things.

* Just optimize code style
ElderJames pushed a commit that referenced this pull request Apr 30, 2022
* Expose SubMenu's Placement

The Placement of SubMenu can now be changed and it will be set to BottomLeft or RightTop as before if you don't set it.

* Try fix #922

I'm not sure if it will bring new problems, but it solved my problem. I hope someone can help me review it to make sure it doesn't break other things.

* Just optimize code style
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants