retejs / context-menu-plugin

https://retejs.org
MIT License
11 stars 43 forks source link

Context menu gets cut off #84

Closed devRoemer closed 1 week ago

devRoemer commented 6 months ago

If the context menu is opened closer to the right or bottom edge, it could happen that it is not entirely visible. This happens especially with large context menus, but is also reproducible on the example page: https://retejs.org/examples/context-menu

Expected: The position does not only depend on the cursor position, but also on the edges of the editor area (or visible screen area). E.g. If the menu exceeds the bottom, it is repositioned that the bottom of the context menu aligns with the bottom of the editor area.

rete-js[bot] commented 1 month ago

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 10 days.

rete-js[bot] commented 1 week ago

This issue was closed because it has been stalled for 10 days with no activity.