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

悬浮工具条位置BUG #5072

Open
204065248 opened this issue Nov 12, 2022 · 3 comments
Open

悬浮工具条位置BUG #5072

204065248 opened this issue Nov 12, 2022 · 3 comments
Labels

Comments

@204065248
Copy link

204065248 commented Nov 12, 2022

bug 描述

当编辑器为scroll: false,设置时,悬浮框位置出现错位。
image
当多行时恢复正常
image

你预期的样子是?

应该显示到下一行
image

系统和浏览器及版本号

  • 操作系统
  • 浏览器和版本

wangEditor 版本

    "@wangeditor/editor": "^5.1.22",
    "@wangeditor/editor-for-react": "^1.0.6",

demo 能否复现该 bug ?

在线 demo

请尽量提供在线 demo (推荐以下网站),帮助我们最低成本复现 bug

最小成本的复现步骤

  1. 到腾讯文档中输入几个字
  2. 鼠标选中即可
@wangfupeng1988
Copy link
Collaborator

已复现。官网 demo “仿腾讯文档”即可复现,如下图

image

@204065248
Copy link
Author

image
貌似是这个问题

@yu530feng
Copy link

yu530feng commented Nov 17, 2022

scroll:false时,外层设置min-height,内层height: 100%不撑开引起的问题。我抽空修复了下, #5098

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants