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 pop-up box of mention will exceed the screen border #4588

Open
1 task
mehunk opened this issue Aug 28, 2021 · 0 comments
Open
1 task

The pop-up box of mention will exceed the screen border #4588

mehunk opened this issue Aug 28, 2021 · 0 comments

Comments

@mehunk
Copy link
Contributor

mehunk commented Aug 28, 2021

  • I have searched the issues of this repository and believe that this is not a duplicate.

Version

2.2.6

Environment

Mac 11.4, Chrome 91, Vue 3

Reproduction link

Edit on CodeSandbox

Steps to reproduce

只要 Mentions 元素靠近浏览器边框,弹出框就会超过浏览器边框,从而显示不全

What is expected?

如果距离不足以显示全,则自动调整弹出框位置

What is actually happening?

代码中将 adjustX 设置为了 0

@github-actions github-actions bot changed the title mention 的弹出框会超出屏幕边框 The pop-up box of mention will exceed the screen border Aug 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants