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

docs(Dropdown): Add Docs the pop-up menu position will follow the right-click position #45076

Merged
merged 2 commits into from
Sep 25, 2023

Conversation

HaixingOoO
Copy link
Contributor

@HaixingOoO HaixingOoO commented Sep 25, 2023

Add Docs the pop-up menu position will follow the right-click position

[中文版模板 / Chinese template]

🤔 This is a ...

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

🔗 Related issue link

💡 Background and solution

弹出菜单位置会跟随右键点击位置变动,类似操作系统桌面右键的效果。
image

📝 Changelog

Language Changelog
🇺🇸 English Add Docs Remark, the pop-up menu position will follow the right-click position.
🇨🇳 Chinese 添加文档备注,弹出菜单位置会跟随右键位置。

☑️ Self-Check before Merge

⚠️ Please check all items below before requesting a reviewing. ⚠️

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

🚀 Summary

🤖 Generated by Copilot at d47b716

Add documentation for a new feature of the context menu component that enables custom positioning. Update components/dropdown/demo/context-menu.md to explain how to use the feature.

🔍 Walkthrough

🤖 Generated by Copilot at d47b716

  • Implement the feature of popping up the context menu at the right-click position (link,F

@stackblitz
Copy link

stackblitz bot commented Sep 25, 2023

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

@github-actions
Copy link
Contributor

github-actions bot commented Sep 25, 2023

@argos-ci
Copy link

argos-ci bot commented Sep 25, 2023

The latest updates on your projects. Learn more about Argos notifications ↗︎

Build Status Details Updated (UTC)
default (Inspect) ✅ No change detected - Sep 25, 2023, 11:55 AM

Co-authored-by: afc163 <afc163@gmail.com>
Signed-off-by: Zong-Ke Zhang <65376724+Zzongke@users.noreply.github.com>
@codecov
Copy link

codecov bot commented Sep 25, 2023

Codecov Report

Patch and project coverage have no change.

Comparison is base (ba4c9a1) 100.00% compared to head (1b4f681) 100.00%.

Additional details and impacted files
@@            Coverage Diff             @@
##            master    #45076    +/-   ##
==========================================
  Coverage   100.00%   100.00%            
==========================================
  Files          687       682     -5     
  Lines        12032     11528   -504     
  Branches      3235      3098   -137     
==========================================
- Hits         12032     11528   -504     

see 21 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@kiner-tang kiner-tang merged commit 3e70e31 into ant-design:master Sep 25, 2023
51 checks passed
@HaixingOoO HaixingOoO deleted the Docs/Dropdown branch September 25, 2023 13:23
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.

【dropdown】当trigger为['contextMenu']时,placement不起作用
3 participants