If the app library is open and you move an icon from a folder back to Home using the "Remove" option in the menu, then the next time the menu is opened, it takes two clicks instead of one to close. You can see that the first click still causes the app names to un-grey, so it's being registered by the app library, it's just not closing the context menu.
I had one case where the app menu actually froze up after this happened and, after closing it, I had to kill the process to get it to open again. That part's not happening every time, though.
Normally, the right-click context menu (which contains e.g. "Run on {$GPU}") closes if you click outside of it.
https://github.com/pop-os/cosmic-applibrary/assets/7199422/2046ed05-0dec-4441-b6ab-6ff8938f1057
If the app library is open and you move an icon from a folder back to Home using the "Remove" option in the menu, then the next time the menu is opened, it takes two clicks instead of one to close. You can see that the first click still causes the app names to un-grey, so it's being registered by the app library, it's just not closing the context menu.
https://github.com/pop-os/cosmic-applibrary/assets/7199422/9c9b914c-27b5-47f3-a40c-370802c7759b
I had one case where the app menu actually froze up after this happened and, after closing it, I had to kill the process to get it to open again. That part's not happening every time, though.
(Tested on version 3349462.)