penpot/frontend/test/frontend_tests
Thomas Ramé e6f3d21dce
🐛 Keep context menu submenus inside the window (#13302)
* 🐛 Keep context menu submenus inside the window

A submenu opens at the height of its entry, so one opened from an entry
near the bottom of the window ran past it and its last entries could
not be reached. It now moves up to end 8px above the window's bottom.

Signed-off-by: Florian Schroedl <flo.schroedl@gmail.com>
Signed-off-by: Thomas Ramé <thomas@rame.fr>

* 🐛 Keep nested context submenus inside the window

* ♻️ Compute the context submenu position in a testable function

---------

Signed-off-by: Florian Schroedl <flo.schroedl@gmail.com>
Signed-off-by: Thomas Ramé <thomas@rame.fr>
Co-authored-by: Florian Schroedl <flo.schroedl@gmail.com>
2026-11-25 18:29:18 +01:00
..
2026-11-25 09:26:43 +01:00