baidu / baidu/amis

amis-editor编辑器中,使用悬浮容器插件,右键该插件显示浏览器原生上下文菜单

Open
#9,645 1 comment 0 reactions 1 assignee Claimed by @2betop View on GitHub
fix need confirm style
Dominant language
TypeScript
Stars
18.9k
Forks
2.7k
PR merge metrics
No merged PRs in 30d

Description

#### 描述问题:

在amis-editor编辑器中,使用悬浮容器插件,或者将某个插件的style.position设置为absolute或fixed。再选中该插件,右键时,显示的是浏览器原生上下文菜单,不是amis-editor自定义上下文菜单。

#### 截图或视频:
![1708592394284](https://github.com/baidu/amis/assets/14882998/f0f3b835-d1fc-46ca-9b63-7c20f96cb1d2)

#### 如何复现(请务必完整填写下面内容):

1. 你是如何使用 amis 的?
npm

2. amis 版本是什么?请先在最新 beta 版本测试问题是否存在
amis:v3.3.0
amis-editor: v5.5.0

3. 粘贴有问题的完整 `amis schema` 代码:
```
{
"type": "container",
"size": "xs",
"body": [],
"style": {
"position": "fixed",
"inset": "auto 936px 636px auto",
"zIndex": 10,
"minWidth": "80px",
"minHeight": "80px",
"display": "block"
},
"wrapperBody": false,
"originPosition": "right-bottom",
"id": "u:348d92d371ea"
}
```

4. 操作步骤

1)使用amis-editor编辑器
2)插入悬浮容器插件
3)右键选中悬浮容器插件
4)期望显示amis-editor自定义上下文菜单,实际显示浏览器原生上下文菜单。

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.