apostrophecms / apostrophe

A full-featured, open-source content management framework built with Node.js that empowers organizations by combining in-context editing and headless architecture in a full-stack JS environment.
https://apostrophecms.com
MIT License
4.34k stars 592 forks source link

Keep widget focused when menu is open #4695

Closed stuartromanek closed 1 month ago

stuartromanek commented 1 month ago

Summary

The idea for this fix is that when a widget's context menu is open that widget should assume focus until something else takes it. With this we can ensure all the proper UI stays on the screen without exact pointer interactions