imengyu / vue3-context-menu

A very simple context menu component for Vue3 一个简洁美观简单的Vue3右键菜单组件

Home Page:https://docs.imengyu.top/vue3-context-menu-docs/en/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Bug] Overflow on mobile screens

ivanmem opened this issue · comments

commented

On mobile devices, the context menu may appear off-screen.
https://github.com/imengyu/vue3-context-menu/assets/33786293/e4fa7127-d2d6-4573-a30e-6f27eedfb4da

In such cases, you need to display the menu from the left edge to the right or otherwise, but in no case do you want the context menu to be displayed off-screen. If the content does not fit, then you can add "overflow: auto" to the style.

Thank you for your question. Fixed in version 1.3.0

commented

Now it works almost perfectly. Only there is no scroll when overflowing. But even so, it's already a pleasure to use, thanks.
image