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

The content of the contextmenu will be obscured by the canvas and cannot be changed according to the size of the remaining container #6444

Open
liu-code-hs opened this issue Oct 28, 2024 · 3 comments
Labels
Need Improvement Lack of information or incorrect format plugin Issue about plugin status: waiting for maintainer These issues have not yet been reviewed by a maintainer v5

Comments

@liu-code-hs
Copy link

Describe the bug / 问题描述

g6版本:5.0.26

Screenshot 2024-10-25 at 17 40 52

Reproduction link / 重现链接

No response

Steps to Reproduce the Bug or Issue / 重现步骤

No response

G6 Version / G6 版本

🆕 5.x

Operating System / 操作系统

macOS

Browser / 浏览器

Chrome

Additional context / 补充说明

No response

@github-actions github-actions bot changed the title contextmenu内容会被画布遮挡,无法根据剩余容器大小,变化位置 The content of the contextmenu will be obscured by the canvas and cannot be changed according to the size of the remaining container Oct 28, 2024
@yvonneyx yvonneyx added v5 plugin Issue about plugin labels Oct 28, 2024
@yvonneyx yvonneyx added the Need Improvement Lack of information or incorrect format label Dec 9, 2024
Copy link

github-actions bot commented Dec 9, 2024

Please provide more information, or use the standard format, otherwise we will not process this issue.
Reference document:


请提供更多信息,或者使用规范的格式,否则我们不会处理这个 issue。
参考文档:

@yvonneyx yvonneyx added the status: waiting for author Issue with insufficient information label Dec 9, 2024
Copy link

Since the issue is missing key information and has been inactive for 7 days, it has been automatically closed. If you wish to see the issue reopened, please provide the missing information. | 由于该 issue 缺少关键信息且已闲置 7 天,现已自动关闭。如需重新打开此问题,请提供所缺失的信息。。

@liu-code-hs
Copy link
Author

liu-code-hs commented Dec 24, 2024

这是例子:https://g6.antv.antgroup.com/examples/plugin/contextMenu#basic

把元素拖动画布右侧,然后右键,右侧画布已经没有空间,但是菜单还是展示在右侧

Uploading Screenshot 2024-12-24 at 11.10.24.png…

同样的例子在版本4的例子中就不存在这个问题:https://g6-v4.antv.vision/examples/tool/contextMenu/#contextMenu

@github-actions github-actions bot added status: waiting for maintainer These issues have not yet been reviewed by a maintainer and removed status: waiting for author Issue with insufficient information labels Dec 24, 2024
@github-actions github-actions bot reopened this Dec 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Need Improvement Lack of information or incorrect format plugin Issue about plugin status: waiting for maintainer These issues have not yet been reviewed by a maintainer v5
Projects
None yet
Development

No branches or pull requests

2 participants